title: Sending email from domain different than primary? Possible?
body: <p>this may be a noobish question. I'd like to know if I can send emails from the server that say, domain1.com is associated with, as coming from <code>domain2.com</code> and also having the origin show as coming from <code>domain2.com</code>?</p>
  
  <p>The reason I'd like to do this, is because I have an application I'm developing and would like to send emails from the domain, for example - <code>maildomain.com</code> instead of coming from <code>domain.com</code></p>
  
  <p>Emails are being sent with php's mail function.</p>