![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to send an email? | aajan | UNIX for Dummies Questions & Answers | 1 | 06-12-2007 05:53 AM |
| send email to more users | duke0001 | UNIX for Dummies Questions & Answers | 4 | 03-21-2006 12:58 PM |
| Send email where # is in the email address - Using Unix | jingi1234 | UNIX for Dummies Questions & Answers | 1 | 05-23-2005 12:23 PM |
| Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) | Vetrivela | UNIX for Advanced & Expert Users | 2 | 02-15-2005 10:43 AM |
| Send email to another server on AIX | owls | UNIX for Dummies Questions & Answers | 1 | 09-17-2001 01:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
if you mean as an attachment then you can do a search on the board for that answer. or check in the faq for the answer.
if you are talking about inserting a picture into the body of an email. sounds like a good question. |
|
||||
|
Yeah, I mean in the body of the file.
I tried using MIME by inserting these lines in front of a gif file. From: "user" To: "To" Subject: "subject" Mime-version: 1.0 Content-Type: image/gif; name="name.gif" The result is the gif file is unreadable. This was tried from sending email from solaris to outlook. I tried the Content-Transfer-Encoding line, but that doesn't seem to make a difference. |
|
|||||
|
You need to make encode the binary file into text, either with uuencode or (preferably) mimencode. You cannot send binary data directly through email.
Inserting a picture into the "body" of the email is the same as creating a MIME multi-part message. Some mailers will show the picture in-line. Others will just show it as an attachment. Check out the faq for info on how to create attachments, etc. http://droflet.net/unix_dot_com_faq.html Also search the board or the web for info on mimencode. Also see my reply to recent thread titled "Using MIME to send html files". You need to use the same concept, except one of your sections will contain the mimencoded data (with appropriate Content-type) Last edited by PxT; 06-28-2001 at 07:38 PM.. |
|
||||
|
Thanks a lot! I just tried it out and it works, although it won't show the picture, you have to click on the icon to see it. That's probably mailx's fault so I'm not sure if there is much I can do about it.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|