Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Monday, October 12, 2015 7:52:53 AM(UTC)

Rank: Newbie

Groups: Registered
Joined: 10/12/2015(UTC)
Posts: 2

I try to use ImportMailEx method but don't work.

The example images:

Private Sub btnSendMail_Click()

Dim oSmtp As New EASendMailObjLib.Mail
oSmtp.LicenseCode = "TryIt"

' test.htm contains the following content:
'<html><body>this is an inline <img src="c:\my pictures\test.gif"> image</body></html>

' test.gif will be imported as embedded image in the email
oSmtp.ImportMailEx "c:\my folder\test.htm"

' You save it to EML file or call SendMail method to send this email out
oSmtp.SaveMail "c:\test.eml"

End Sub

My test.htm file have one image. in c:\my pictures\test.gif. But dont work.
The test.eml haven't embedded image.
If I send calling SendMail, no image arrive.

#2 Posted : Tuesday, October 13, 2015 5:25:41 AM(UTC)

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,013

Thanks: 9 times
Was thanked: 41 time(s) in 41 post(s)
If you open test.html by web browser, does this image display correctly?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.049 seconds.


© All Rights Reserved, AdminSystem Software Limited.