I based64 encode my PDFs, build the e-mail and MIME envelopes for the text
and PDF sections, write the entire email blob to a local file, and then use
sendmail to send the email using the head inside the e-mail. That way, I can
specify the disposition of the envelope contents as in-line or attachment.
That's been working fine for years for electronic invoicing.

-------------------------------------------
Glen Batchelor
IT Director
All-Spec Industries
phone: (910) 332-0424
fax: (910) 763-5664
e-mail: [EMAIL PROTECTED]
-------------------------------------------
www.allspec.com
-------------------------------------------
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:owner-u2-
> [EMAIL PROTECTED] On Behalf Of Anthony Dzikiewicz
> Sent: Wednesday, August 02, 2006 10:57 AM
> To: [email protected]
> Subject: [U2] OT: Email Attachment Universe Linux
> 
> Hey guys,
> 
> We have a program that distributes information via various methods.  One
> of which is to email the file as a PDF.  So, one of our users was on AOL
> and then switched to Cox.  They read their email via the cox webmail
> site on a browser.  The problem is that the attachment is coming over as
> part of the message now and not as an attachment.  However, if they use
> outlook as the email client, then the file is presented as an
> attachment.  So, webmail client is doing something different than
> outlook.  If I send an attachment to the person using outlook on my PC,
> then the attachment comes thru as an attachment on the webmail client.
> 
> So, I think the problem is the way I am sending the email / attachment.
> I am using the following;
> 
> uuencode MYFILE.PDF MYFILE.PDF | mail -s MYFILE.PDF -n
> [EMAIL PROTECTED]
> 
> This is being done on a Linux machine and we are shelling out of
> Universe to issue the command.  Any suggestions on how to make it better
> ?
> 
> Thanks
> 
> Anthony
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to