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" ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| 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.. |
| Sponsored Links |
| |||
| > 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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |