Emails sent from my website have the server name in them

Avatar
  • Answered
There are certain automated emails generated by the domain, i.e. the welcome email, the password reset etc.

Those emails should be sent by [email protected]

But unfortunately they are sent via biz139.inmotionhosting.com.

Question: How to make sure that all emails are generated by the domain email? (we switched to SMTP server as inmotion support recommended, still not fixed)
Avatar
johnpaulb-imhs1
Hello Hasnain, Thank you for your question. The best way to do this depends how your website is coded: In this guide we show you a successful example of how to code a Basic PHP mail() Function to send emails from a form. Alternately, you could also use phpMailer to send mail through PHP. If you are using a specific CMS, such as Wordpress, Joomla or Concrete5, there are typically plugins, or an area in the dashboard to set that up. Let us know if you are using a CMS, and we can provide a more specific answer. If you have any further questions, feel free to post them below. Thank you, -John-Paul