Mail / MailX with attachments issues

Soldato
Joined
31 Oct 2005
Posts
8,793
Location
Leeds
Hoping someone can shed some light on the below

If I run

PHP:
uuencode filename filename | mail emailaddress

I receive a lovely email with the attachment of my choice

However if I run

PHP:
uuencode filename filename | mailx -s "subject here" emailaddress

I receive an email, with a subject, but the attachment in uuencode format(unreadable), WITHIN the body of the email.

To me it seems a config issue, however if anyone has any pointers, or an way to get MAIL to have a title.

Cheers
 
Back
Top Bottom