Author |
|
gdweb Newbie
Joined: 15 May 2008
Online Status: Offline Posts: 12
|
Posted: 07 June 2008 at 3:51am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 07 June 2008 at 4:12am | IP Logged
|
|
|
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 |
|
|
gdweb Newbie
Joined: 15 May 2008
Online Status: Offline Posts: 12
|
Posted: 07 June 2008 at 4:32am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 07 June 2008 at 5:10am | IP Logged
|
|
|
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 |
|
|