1758698 Members
2197 Online
108874 Solutions
New Discussion юеВ

Sendmail ??

 
HPP
Regular Advisor

Sendmail ??

Hi,
We have got a home grown list server (Developed in Perl), which handles group e-mails, subscription. When i post an HTML document to any group, it gives in first few lines as shown below:

Content-Type multipart/mixed;

This is a multi-part message in MIME format.

------=_NextPart_000_00E9_01C0F58D.2270DE30
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_00EA_01C0F58D.2276F8B0"


------=_NextPart_001_00EA_01C0F58D.2276F8B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit


When is receive the e-mail, i get HTML Source code, instead of actual page. Should i need to make any changes in sendmail.cf? OR something else has to be done?

Help please......

Thanks in advance
Be Teachable
3 REPLIES 3
Jordan Bean
Honored Contributor

Re: Sendmail ??

first ensure that the script is not clobering the boundary= part of the Content-type header. Por ejemplo:

Content-Type: multipart/mixed;
boundary="----_=_NextPart_000_01C0F5C3.B1396390"

In this example, the boundary portion is on the next line preceeded by a tab.
Satish Y
Trusted Contributor

Re: Sendmail ??

Hi,

Try this,

uuencode myfile.html myfile.html | mailx -s "sending a html mail"

uudecode myfile.html.mail

Cheers...
satish.
Difference between good and the best is only a little effort
Vincent Fleming
Honored Contributor

Re: Sendmail ??

It could be your mail reader. For example, older versions of Outlook show HTML source code, while newer versions show the page as it would appear in IE.

Try another mail reader...
No matter where you go, there you are.