Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Guide us to MailMessage.Parser.... Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gdweb
Newbie
Newbie


Joined: 15 May 2008
Online Status: Offline
Posts: 12
Posted: 07 June 2008 at 3:51am | IP Logged Quote gdweb

Sir,
if you please guide us - how to use MailMessage.Parser.WorkingFolder to save the embedded mail messages to another folder? we are using msg.GetHtmlAndSaveRelatedFiles(), now where do we specifies the path or the current working directory? please let us know in details, because we are in great trouble with this problem.

thanks in advance.

regards,
GD Websolutions.
Back to Top View gdweb's Profile Search for other posts by gdweb
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 07 June 2008 at 4:12am | IP Logged Quote Andrew

MailMessage.GetHtmlAndSaveRelatedFiles method description contains a useful sample which shows how to specify that folder.

Just specify something like "C:\Temp" (assuming that the folder does exist and permissions are ok) before GetHtmlAndSaveRelatedFiles method call.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
gdweb
Newbie
Newbie


Joined: 15 May 2008
Online Status: Offline
Posts: 12
Posted: 07 June 2008 at 4:32am | IP Logged Quote gdweb

sir,
its ok, the all embedded images are saved to the specified folder, but the mail message did not show the images, only the links are showing. how do i show the embedded images too, using the MailMessage.GetHtmlAndSaveRelatedFiles() method. please help...

thanks in advance.

regards,
GD Websolutions.
Back to Top View gdweb's Profile Search for other posts by gdweb
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 07 June 2008 at 5:10am | IP Logged Quote Andrew

First, make sure you use correct VirtualMappingType when call GetHtmlAndSaveRelatedFiles method.

If you're sure everything is fine, please provide us with a part of the HTML code which contains a reference to the image which is not displayed. Right-click the page in your web browser, then choose "View Page Source" in the context menu to get the HTML.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide