Path: | lib/god/contacts/email.rb |
Last Update: | Mon Dec 05 21:30:44 +0000 2011 |
Send a notice to an email address.
to_email - The String email address to which the email will be sent. to_name - The String name corresponding to the recipient. from_email - The String email address from which the email will be sent. from_name - The String name corresponding to the sender. delivery_method - The Symbol delivery method. [ :smtp | :sendmail ]
(default: :smtp).
server_host - The String hostname of the SMTP server (default: localhost). server_port - The Integer port of the SMTP server (default: 25). server_auth - The Boolean of whether or not to use authentication
(default: false).
server_domain - The String domain. server_user - The String username. server_password - The String password.
sendmail_path - The String path to the sendmail executable
(default: "/usr/sbin/sendmail").
sendmail_args - The String args to send to sendmail (default "-i -t").