Hi there! I also send mails with attachments from simplemail (windows / spectrum 9.2):
# $file=/path/to/file # (echo "text message in email..."; uuencode $file $file) | mail -s "mail subject" <recipient> I always have to set the file 2 times. Regards, Harry -----Ursprüngliche Nachricht----- Von: Tuğrul GÜRKAYNAK [mailto:[email protected]] Gesendet: Montag, 2. Februar 2015 15:16 An: spectrum Betreff: RE: [spectrum] File Attachments using Simple Mail Hi, it looks like SimpleMail doesn't support attachments, however, you can try implementing a Perl SMTP mail sender using modules also preloaded with Spectrum, which can be used as sender for SetScript etc. Check those examples: http://www.perlmonks.org/?node_id=1076082 http://code.activestate.com/lists/activeperl/16470/ Have a nice day Tugrul ________________________________________ Gönderen: kavi arasu <[email protected]> Gönderildi: 30 Ocak 2015 Cuma 11:56 Kime: spectrum Konu: [spectrum] File Attachments using Simple Mail Hi All, Is it possible to send email with text file attachment using Simple Mail, which is preloaded in Spectrum. If Possible, please provide us the syntax to achieve the same. Thanks, Kavi --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected] Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmektedir. Mesajdaki gorusler gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir. Attention: This e-mail message is private and privileged.If you are not the recipient for whom this e-mail message is intended, please notify the sender immediately and delete this e-mail message from your system.All sent and received e-mail messages go through a virus scan. Any opinions presented in this e-mail message are solely those of the author and do not necessarily represent HAVELSAN A.S.`s formal and authorized views. --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected] --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
