Closed MaffooClock closed 9 years ago
Actually, I forgot that a comma is a delimiter for multiple addresses, so I'll have to figure out a way to escape it.
Heh, more than a year later, and I found myself in this pitfall again!
Although not specific to this project, here's a tip: %Q["#{addressee_name}" <#{email_address}>]
I just came across this too.
This seems to happen whenever the from:
and to:
fields are not formatted correctly (extra commas and periods seem to be the common ones)
After nearly an hour of hair-pulling, I've discovered that if the
from:
display name contains a comma, Mailgun throws an exceptionNoMethodError (undefined method 'formatted' for #<Mail::UnstructuredField:0x007fba8303c8f8>)
.Examples: