Displaying 1 result from an estimated 1 matches for "deliver_sendthemail".
Did you mean:
deliver_send_email
2006 Jul 02
0
quotes in email address for mailer
...g 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