title: How to send mail from non existing mail mailsender spring?
body: <p>How to send a mail from non existing mail? Example: no-reply@mydomain.com using Spring Mail Sender Configuration. A mail doesn't exists so that reply to email address should fail.</p>
  
  <p>Solution with java mail also preferred.</p>
  
  <p>I tried with this too. It is not working with spring framework.
  <a href="https://stackoverflow.com/questions/8411855/unknown-sender-when-sending-email-with-pdf-attachment-created-in-itext-from-ja">(Unknown Sender) when sending email with pdf attachment created in iText from java application</a></p>
  
  <blockquote>
    <p>no-reply@mydomain.com</p>
  </blockquote>