Level 122
The server you are using for sending email must be happy to forward email from an account pretending to be [email protected].
You can't just send email from any email addess you like as this is spoofing.
I want to add sender address to email to be able reply to email directly from webmail but when i try to add 'from' to Envelope :
return new Envelope(
from: new Address('[email protected]'),
subject: 'Test Contact Email',
);
i got error that invalid sender address was used. If i remove this from everything works and email is delivered. 🤨
The server you are using for sending email must be happy to forward email from an account pretending to be [email protected].
You can't just send email from any email addess you like as this is spoofing.
Please or to participate in this conversation.