471,330 Members | 1,729 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

How to save and load MailMessage ?

How to save and load MailMessage into/from .eml file ?

I need methods like
MailMessage.Save( string FileName )
and
MailMessage.Load( string FileName )
???

--
Best regards,

Oleg Subachev
su******@ural.ru
Jun 27 '08 #1
2 12398
You can read/write from an eml file like that

Dim oMail As SmtpMail = New SmtpMail("Test")
oMail.SaveAs( "c:\test.eml", True )
Regards,
Mudassar Hassan
http://mudassarhassan.spaces.live.com/
"Oleg Subachev" wrote:
How to save and load MailMessage into/from .eml file ?

I need methods like
MailMessage.Save( string FileName )
and
MailMessage.Load( string FileName )
???

--
Best regards,

Oleg Subachev
su******@ural.ru
Jun 27 '08 #2
You have to use some 3rd party component to save/load an eml file like Email
Architect. Use EASendMail SMTP COMPONENT for that purpose.

See this http://www.emailarchitect.net/easendmail/ for more details

Regards,
Mudassar Hassan
http://mudassarhassan.spaces.live.com/
"Mudassar Hassan" wrote:
You can read/write from an eml file like that

Dim oMail As SmtpMail = New SmtpMail("Test")
oMail.SaveAs( "c:\test.eml", True )
Regards,
Mudassar Hassan
http://mudassarhassan.spaces.live.com/
"Oleg Subachev" wrote:
How to save and load MailMessage into/from .eml file ?

I need methods like
MailMessage.Save( string FileName )
and
MailMessage.Load( string FileName )
???

--
Best regards,

Oleg Subachev
su******@ural.ru

Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by ukjock | last post: by
14 posts views Thread by Mr.D | last post: by
12 posts views Thread by John | last post: by
2 posts views Thread by =?Utf-8?B?SnVhbiBEZW50?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.