![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
There's anyone that can help me to send a html e-mail with a gif using sendmail running on Unix? I encode the gif with the uuencode utility but I don't want it to be received like an attachment, I'd like to have the gif in the mail body. Any suggestion? Simone (Florence - Italy) |
#3
| |||
| |||
|
|
There's anyone that can help me to send a html e-mail with a gif using sendmail running on Unix? I encode the gif with the uuencode utility but I don't want it to be received like an attachment, I'd like to have the gif in the mail body. Any suggestion? Simone (Florence - Italy) |
#4
| |||
| |||
|
|
"sigio" wrote: There's anyone that can help me to send a html e-mail with a gif using sendmail running on Unix? I encode the gif with the uuencode utility but I don't want it to be received like an attachment, I'd like to have the gif in the mail body. Any suggestion? Simone (Florence - Italy) Simone, benvenuto cordiale! The way you embed images depends on the tools you use to build the mail body. There are many tools and many documents on the net to describe the format of mail headers. Basically you need to specify a Content-ID, Content-Disposition:inline, Content-Type:image/gif" (and other headers), then in the body of your mail, you need: img src="CID:12312323" The CID must match the Content-ID. Adding in more images means adding more content tags and img tags, possibly using a higher-level mail header of Content-Type:multipart/alternative or multipart/mixed, and some other details. Spero quello t'aiutato. (Discutiamo base di dati qui, non email - lo sa? Ha una sistema di Pick?) Saluti a bella Firenze! Tony TG@ rimuovaNebula-RnD.com |
#5
| |||
| |||
|
|
This type of questions ("How do I email html/attachment/whatever?") seems to come up about once a month. My standard response is "try postie" (a command line mailer from ingfradig.com). |

#6
| |||
| |||
|
#7
| |||
| |||
|
|
"sigio" wrote: There's anyone that can help me to send a html e-mail with a gif using sendmail running on Unix? I encode the gif with the uuencode utility but I don't want it to be received like an attachment, I'd like to have the gif in the mail body. Any suggestion? Simone (Florence - Italy) Simone, benvenuto cordiale! The way you embed images depends on the tools you use to build the mail body. There are many tools and many documents on the net to describe the format of mail headers. Basically you need to specify a Content-ID, Content-Disposition:inline, Content-Type:image/gif" (and other headers), then in the body of your mail, you need: img src="CID:12312323" The CID must match the Content-ID. Adding in more images means adding more content tags and img tags, possibly using a higher-level mail header of Content-Type:multipart/alternative or multipart/mixed, and some other details. Spero quello t'aiutato. (Discutiamo base di dati qui, non email - lo sa? Ha una sistema di Pick?) Saluti a bella Firenze! Tony TG@ rimuovaNebula-RnD.com |
#8
| |||
| |||
|
|
This type of questions ("How do I email html/attachment/whatever?") seems to come up about once a month. My standard response is "try postie" (a command line mailer from ingfradig.com). There is a free non-commercial version, the commercial version is only $75 US. I use it at all my sites; it can handle both pop and imap, and can not only send emails but also read an inbox, move/copy/delete messages, etc. I am curious: does anyone else use this great tool? or am I the only one that is happy to pay a tiny amount for something that already works. Is it a productive use of time to figure out the internals of email messages and master the use of the multiple utilities necessary to encode/assemble/send/roll-your-own? It seems to me that the time spent googling for the answer(s) alone makes the DIY approach more expensive than postie. /Scott Ballinger Pareto Corporation Edmonds WA USA 206 713 6006 Tony Gravagno wrote: "sigio" wrote: There's anyone that can help me to send a html e-mail with a gif using sendmail running on Unix? I encode the gif with the uuencode utility but I don't want it to be received like an attachment, I'd like to have the gif in the mail body. Any suggestion? Simone (Florence - Italy) Simone, benvenuto cordiale! The way you embed images depends on the tools you use to build the mail body. There are many tools and many documents on the net to describe the format of mail headers. Basically you need to specify a Content-ID, Content-Disposition:inline, Content-Type:image/gif" (and other headers), then in the body of your mail, you need: img src="CID:12312323" The CID must match the Content-ID. Adding in more images means adding more content tags and img tags, possibly using a higher-level mail header of Content-Type:multipart/alternative or multipart/mixed, and some other details. Spero quello t'aiutato. (Discutiamo base di dati qui, non email - lo sa? Ha una sistema di Pick?) Saluti a bella Firenze! Tony TG@ rimuovaNebula-RnD.com |
#9
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |