This script works fine when sensing the attachment to MS Outlook or Gmail,
but it does not work when using Yahoo mail, we see the PDF attachment but when we try to retrieve it, it fails indicating an invalid format. It appears that Yahoo mail does not know how to decode the attachment done via uuencode.
.
I've been reading different notes regarding this issue, one suggestion was to use "mutt" but unfortunate it does not seem available for HPUX.
.
I've also tried MIME/base64 code that I found on different forums but it did not work either.
.
Has anyone been able to send PDF attachment to Yahoo mail via a Unix command line (ex: Mailx, Sendmail etc..) ?
If so how was this achieved ?
.
Thanks in advance
Thanks for the info
.
We were able to get it to work with a similar piece of code using MIME base64 and sendmail.
But we need to know when an email failed because of an invalid address and was not able to figure it out using sendmail. I also tried "-N failure" but still could not get it to work.
When using "mailx -r" we get an email notification when it failed, but the attachment is not sent properly. When we use "sendmail" the attachment works fine but we don't know if the email failed or not.
.
We also tried "mpack" which worked great with the attachments but were not able to get a notification on a failure for an invalid address.
This is the code .. As mentioned we can send attachments to gmail, yahoo etc ..
But we would need to know if the email failed because of an invalid address
I tried to convert the code to use mailx but the attachments comes in as text inside the email instead of an attachment.