IT Community - Software Programming, Web Development and Technical Support

utl_smtp

This is a discussion on utl_smtp within the Database Support forums, part of the Web Development category; Hi all, when send e-mail via utl_smtp, is there a specific string to send to the "write_data" ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-06-2007, 12:42 PM
H2o H2o is offline
D-Web Analyst
 
Join Date: Jul 2007
Posts: 246
H2o is on a distinguished road
Default utl_smtp

Hi all,

when send e-mail via utl_smtp, is there a specific string to send to the "write_data" method to change the mail type from text to html ?

The following dose not seem to work:
content="text/html; charset=us-ascii

Thanks.
__________________
H2O

Without us, no one can survive..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 01:40 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: utl_smtp

> when send e-mail via utl_smtp, is there a specific string to send to the
> "write_data" method to change the mail type from text to html ?

No. SMTP is the delivery protocol. It is oblivious to the contents (the Internet Message Body) that you have constructed and are transmitting via the DATA command.

To construct a "html" e-mail (a thing of evil as this is contrary to e-mail standards that dictates e-mail should be text/ascii only), requires you the programmer to construct a valid Internet Message body.

You can refer to the RFCs for that. RFC Index

See RFCs:
# RFC 2049 - Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples
# RFC 2048 - Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures
# RFC 2047 - MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
# RFC 2046 - Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
# RFC 2045 - Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 05:09 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0