Displaying 2 results from an estimated 2 matches for "mailit".
Did you mean:
mailir
2009 Dec 30
3
rsync email notification on success and failure + Log
Hi,
I have a bash script for rsync that should tranfer all my filer from one drive to the other.
I would like to know how I can make the script sending me an email after the script is run and be able to know if it was a success or not and also if possible to include the log file.
This is my script:
!/bin/bash
rsync -av --delete --log-file=/home/duffed/RSyncLog/$(date
2006 Jul 02
0
quotes in email address for mailer
...omething like this:
def combined_address
return "\"" + self.name + "\"" + " <" + self.email + ">"
end
However, the quotes around the name seem for some reason to be
stripped when I call the Mail object from the controller like this:
Mailit.deliver_sendTheMail(@sender.combined_name, @recipient.combined_name)
When the mail is sent, it arrives in the mailbox looking like this
(quotes are gone):
sender name sender@domain.com
What should I be doing to get this to have the address contain the quotes?
Shelby