Using EmailSpec, I am testing the format of emails sent from an
I can verify the deliver_to address, the bcc_to address, and that the
message body has the appropriate text.
However, when I test the deliver_from, I am getting an error saying my
deliver_from is nil, though when I follow the same steps in development,
email is sent with the appropriate from address. This is the message I
‘Event Notification should be sent from an address with the event
expected #<TMail::Mail port=#TMail::StringPort:id=0x7342b8a
bodyport=#TMail::StringPort:id=0x733f598> to deliver from “mytest
Classroom 42 : Janet Teacher1 [email protected]”, but it delievered
Any insight you can provide would be greatly appreciated.