Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail wrong with utl_smtp

Status
Not open for further replies.

alineam

Technical User
Jan 2, 2003
6
BR
Hi,

Im using a procedure for send mail, this use a utl_smtp package from oracle with the header:
'Mime-Version: 1.0' || crlf ||
'Content-Type: text/html; ' || crlf ||
'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
'From: ' || from_name || crlf ||
'Subject: ' || subject || crlf ||
'To: ' || to_name || crlf ||
message || crlf ;

This is working, the problem is: My message appears ok, this way I have written in Notes but in MS Outlook not, the message appears broken, its change many caracters for others like '=3D', or simply put caracters crazilly...


Someone knows why this happens?

thanks

Aline

 
Not a clue - I use utl_smtp to send mail - my message looks like this:

'From: <' || v_msg_from || '>' || CRLF ||
'Subject: ' || v_msg_subject || CRLF ||
'To: ' || v_msg_to || CRLF || CRLF || v_msg_text

And I have not seen the problems you have described in Outlook.

Differences that I can see - no Content-Type or Mime-Version in mine - no trailing CRLF in mine
 
I have no problems with a smtp server too, but the other that I have to use now have this problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top