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~~~~~~~~~~~~~~~~~
Kaffeepause im United Planet Communityserver ...
http://www.intrexx.com/communityserver                         
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an