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

Notification

Icon
Error

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

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.

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

Rank: Administration

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

Thanks: 9 times
Was thanked: 54 time(s) in 54 post(s)
If you open test.html by web browser, does this image display correctly?
Users browsing this topic
Guest
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-2024, Yet Another Forum.NET
This page was generated in 0.058 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.