On 25/02/10 18:48:01, Kef wrote: > Is it possible to send attachments with a > mail using msmtp ? How can I do that ?
As has been stated, msmtp is merely a transport agent; the actual email is created in another application. Here is an munged email (with additional headers) that I created with a shell script and sent out today using msmtp. [I have prefaced each line with an octothorpe]. #Date: Thursday, 25 February 2010 08:03:28 +1100 #From: Robert Thorsby <[email protected]> #Sender: [email protected] #Reply-To: [email protected] #To: A Friend <[email protected]> #Message-ID: <[email protected]> #Mime-Version: 1.0 #Subject: The Weekly Postscript File #Errors-To: [email protected] #X-Mailer: Custom script #Content-Type: multipart/mixed; boundary="-" # #--- #Content-Type: text/plain; format=flowed; charset=ISO-8859-1 #Content-Disposition: inline #Content-Transfer-Encoding: 8bit # #Hi Friend, # #Attached is the usual weekly postscript file. # #Regards, #Robert # #--- #Content-Type: application/postscript; name="ps-file.ps" #Content-Transfer-Encoding: base64 #Content-Disposition: inline; filename="ps-file.ps" #Content-MD5: zGKrYSFvhWV0M/tmRkbutQ== # #JSFQUy1BZG9iZS0zLjAKJSVDcmVhdG9yOiBncm9mZiB2ZXJzaW9uIDEuMTguMQo <everything up to last line of .ps file has been snipped> #MiBFIDAgQ2cKRVAKJSVUcmFpbGVyCmVuZAolJUVPRgo= # #----- This might give you something to work with. Cheers, Robert Thorsby If you can keep your head when all around you have lost theirs, then you probably haven't understood the seriousness of the situation. -- David Brent, "The Office" ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ msmtp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msmtp-users
