javamail - How to send mail from non existing mail mailsender spring? -
how send mail non existing mail? example: no-reply@mydomain.com using spring mail sender configuration. mail doesn't exists reply email address should fail.
solution java mail preferred.
i tried too. not working spring framework. (unknown sender) when sending email pdf attachment created in itext java application
no-reply@mydomain.com
if you're not using smtp authentication doesn't matter whether mail exists or not.
you can send mail addresses doesn't exist without using smtp authentication but that's bad practice because such email's evaluated spam of spam filters.
hence it's best practice send mail using smtp authentication. when sending mail using way should have credentials email, password, outgoing server, port etc... , you'll need mail exists.
Comments
Post a Comment