search for: combined_address

Displaying 1 result from an estimated 1 matches for "combined_address".

2006 Jul 02
0
quotes in email address for mailer
I am trying to use the mailer to send email. I want to create a sender and a recipient address that is in this form (note the quotes around the sender name): "sender name" sender@domain.com To do this, in my sender model, I have tried something 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...