-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an image in email content #8
Comments
Hello Andreas, [smtp Server]: 220 smtp.gmail.com ESMTP q28sm10984480pfg.180 - gsmtp How can i receive .jpg image in original form?? Thanks, |
Hello Andreas, |
Hi,
Your library is working great and I am very happy with it.
I am trying to do more complicated things like adding an image to the content of the email.
I found this example online.
Can we do something like this?
Especially the bold part onwards.
Thanks Andreas
To: [email protected]
Subject: ...
Content-Type: multipart/related;
boundary="------------090303020209010600070908"
This is a multi-part message in MIME format.
--------------090303020209010600070908
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
<img src="cid:part1.06090408.01060107" alt="">
</body>
</html>
--------------090303020209010600070908
Content-Type: image/png;
name="moz-screenshot.png"
Content-Transfer-Encoding: base64
Content-ID: <part1.06090408.01060107>
Content-Disposition: inline;
filename="moz-screenshot.png"
The text was updated successfully, but these errors were encountered: