[NTLUG:Discuss] mail or mailx question on attachments
Fred James
fredjame at concentric.net
Fri Nov 22 07:41:15 CST 2002
Command line, yes, but this has to run from within an Oracle Forms
application - the C code produces the equivalent of the command line,
except we have put the uuencode inside the message body with "~|uuencode
filename filename" Other than that choices were made on "is it
installed, and is it commonly available (i.e., on most implementations).
But the question now is, what potential problems might we be facing?
Ryan Sweat wrote:
>On Thu, 2002-11-21 at 22:25, Fred James wrote:
>
>>We found a solution (I think) and I'd like your comments, please -
>>especially if you can see a potential problem - we are still testing it,
>>but it works so far.
>>
><snip>
>
>>would (a) attach the file "filename.pdf" to the email, (b) make the
>>"Reply-To" address "joe at whateever.com", and make the "Subject" line read
>>"Hey Joe what do you know".
>>
>
>This can easily be done on the command line with mailx or mutt in a single statement.
>
>uuencode filename filename | mail -s 'subject' recipient
>
>echo 'This is the body' | mutt -x -a filename -s 'subject' recipient
>
>-ryan
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
>
>
--
small is beautiful
More information about the Discuss
mailing list