Hi Liste

Schicke über System.Web.Mail emails im Textformat.
In Outlook ist alles so wie es sein soll (Text/Feste Breite/etc.) aber
In OutlookExpess zeigt er die Mail
1. In Times New Roman an.
2. Löscht er mir alle Umbrüche.

Was tut Ihr dagegen? Html-Mail´s senden die man in einigen
WebMailclients oder
AOL (hey ich bin kein Fan aber ..) nicht lesen kann?


Daniel

Mein Code:

...

private Format m_BodyFormat = Format.Text;

Public void sendMail()
{
 System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage();
 mail.From = m_Sender;
 mail.To = m_Receiver;
 mail.Subject = m_Subject;
 mail.Body = m_Body;
 if(m_Attachment!=null)
 {
  mail.Attachments.Add(new
System.Web.Mail.MailAttachment(m_Attachment));
 }
 mail.Priority = m_Priority;
 mail.BodyFormat = (System.Web.Mail.MailFormat) m_BodyFormat;
 SmtpMail.SmtpServer = m_SmtpServer;
 SmtpMail.Send(mail);
}

~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~
Ein flexibles CMS für lau?
ATTACK! Download Intrexx CRM-Studio Now!   http://www.intrexx.com
_______________________________________________
Advanced.asp mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/advanced.asp

Antwort per Email an