Hello all !
How can I send a mail using a bash script with N7700 PRO ? The nas is send mails in case of warning so it might be possible, no ?
I don't think that mutt is installed.
Any ideas ?
Thanks a lot for your help
Hello all !
How can I send a mail using a bash script with N7700 PRO ? The nas is send mails in case of warning so it might be possible, no ?
I don't think that mutt is installed.
Any ideas ?
Thanks a lot for your help
Last edited by julien1486; 24-02-2010 at 10:15 AM.
The script i have attached here : http://www.thecusforum.eu/showthread.php?t=437&page=2 should work, cause it is also used in my modules and it works also on the N7700
br
Peter
Thanks Peter, it works fine.
Do you know if it's possible to send attachments with msmtp ? I would like to send an attachment with the mail (it's a database backup).
I tried something with uuencode but it didn't work
I have never tried to send attachments, but may the the documentation helps : http://msmtp.sourceforge.net/
I'm sure it can be done - if You have found it, then please inform us
br
Peter
msmtp can just send mails. We have to build it first (this is done in your script).
Two solutions :
- Using a MUA like mutt for adding the attachment
- Write some code for doing it
I think we just have to use uuencode, generate a boundary and ad it to the header. I will try that
sounds perfect
br
peter
There are currently 1 users browsing this thread. (0 members and 1 guests)