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.
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
If you open test.html by web browser, does this image display correctly?
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
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.