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:35:36 AM(UTC)
psystem

Rank: Newbie

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

When you read the email with embedded images, Gmail displays an attachment icon, even if there are no attachments.

I tested this code:

Content HTML code in tmpHTML variable:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<body>
<P><FONT size=2>test</FONT> </P>
<P>&nbsp;</P>
<P><IMG border=0 hspace=0 alt="" src="C:\image.png"></P>
<P>bye</P>
</body>
</html>

Vb6 Code:

dim cid as string
cid = objSmtp.AddInline("C:\image.png")
tmpHTML = replace(tmpHTML , "C:\image.png", cid)
objSmtp.BodyText = tmpHTML

When I read the email I can see the images, it work. But I see also a Icon of attachments. Why?

And if I read the email in a Mac I see attachments. Why?
ivan  
#2 Posted : Tuesday, October 13, 2015 5:26:59 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)
It is normal, embedded image is a type of attachment.
Even I use outlook or other popular email clients to send email with embedded images, both Gmail and Outlook.com displays attachment icon.
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-2024, Yet Another Forum.NET
This page was generated in 0.141 seconds.

EXPLORE TUTORIALS

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