Author |
|
shamora Newbie
Joined: 21 May 2013 Location: United States
Online Status: Offline Posts: 7
|
Posted: 27 May 2013 at 5:51am | IP Logged
|
|
|
I was searching thru your documentation and I found only how to read mime multipart encoded messages but not how to send via smtp.
can you give me some hints please?
how is the boundary generated? where to add the start/middle/end of multipart?
a link to the example code would be nice.
thanks!
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 27 May 2013 at 6:55am | IP Logged
|
|
|
You don't need to to care about MIME at all. Just set properties like mailer.Message.BodyPlainText and mailer.Message.BodyHtmlText and MailBee.NET will create an alternative MIME body (mailer is Smtp instance). If you add an attachment, it will be wrapped in multipart/mixed and so on.
Just extend any sample here with setting both mailer.Message.BodyPlainText and mailer.Message.BodyHtmlText. You'll get what you need.
MailBee.SmtpMail.Smtp.Send
|
Back to Top |
|
|