setContent doesn't set Content-Type!
1 posts in topic
Flat View  Flat View

Posted By:   David_Rosner
Posted On:   Thursday, June 14, 2001 01:35 PM

I am using the following code to send a very simple HTML message. When the message arrives in my email client the Content-Type header is not set so the client doesn't display it correctly. In addition, looking at the debuger I can see that the Content-Type header is null.

Why should that be when the call to setContent should set this header?




message.setContent( "


" , "TEXT/HTML" );


Re: setContent doesn't set Content-Type!

Posted By:   John_Zukowski  
Posted On:   Friday, June 15, 2001 07:36 AM

All I can think of is text/html should be lowercase.
About | Sitemap | Contact