Email script with attachment
I'd asked for help writing a script to generate a form email with attachment a while back. I finally figured it out, if anybody's interested.
The MUA in question is qmail and the script was written for bash.
A minor tweak here and there an it could be modified to use base64 or uuencoded attachments.
The problem(s) seemed to be that the raw email generated didn't have the correct number of line spaces and the boundary string was a little off. I wasn't able to use mutt, but mutt helped me out just the same.
My rambling explanation of what I did (plus script) @ my website.
The MUA in question is qmail and the script was written for bash.
A minor tweak here and there an it could be modified to use base64 or uuencoded attachments.
The problem(s) seemed to be that the raw email generated didn't have the correct number of line spaces and the boundary string was a little off. I wasn't able to use mutt, but mutt helped me out just the same.
My rambling explanation of what I did (plus script) @ my website.
