Hi!!,
I need to know how to make changes in mail server to send emails only using the authenticated email address in hosted application. For example, If I hosted a application it need to send mails only from the email address specified in MAIL_USERNAME.
when we trigger email from our application using above smtp crdential we can send email.
but if we change FROM_EMAIL addrees like [email protected](other mails) we can also send mail to client email address.client can receive email from [email protected] want to deny this emails triger, we want only trigger email from our smtp setup mail adrees([email protected]) because if someone use these credentials to send emails,
they can trigger emails like a someone else’s email(like google, facebook etc).