• Partner program|
  • Latest news|
  • About Versio|
Versio

  • Suggesties
  • Geen suggesties gevonden....

0
  • Price £0.00
Order Update cart
Customer portal
  • Domain names
  • Webhosting
  • Reseller hosting
  • Sitebuilder
  • SSL certificates
  • VPS hosting
  • Support
  1. Support articles and FAQ
  2. » Webhosting
  3. » Article

How do I send email using the PHP mail() function?

If you want to send mail in your PHP code, you're likely to use the mail() PHP function. We have an important rule on our webhosting and reseller hosting servers you have to keep in mind when using the mail() PHP function.

Important to keep in mind

The email address you are using as sender email address has to be created in DirectAdmin as an email address. If you use an external mail service, you also have to create the email address there. In addition, you can only send email using a sender email address that matches the domain that is sending the email. This means that you can not use the PHP mail() function to send an email using 'john@outlook.com' as sender email address.

More information

Read more about this on:
https://www.versio.uk/articles/344-why-am-i-getting-a-callout-verification-failure-when-sending-email-

Did you find this article useful?

  • Category:
  • Webhosting articles
  •  
  • Reseller hosting articles
  •  

Browse by subject

  • General articles
  • Financial articles
  • Webhosting articles
  • Reseller hosting articles
  • Dedicated server articles
  • VPS hosting articles
  • Cloudbox VPS articles
  • SSL certificates articles
  • Sitebuilder articles
  • Domains articles
  • DirectAdmin articles
  • Partner program articles
Versio homepagina
Versio is rated 4.5 out of 5 stars.
Based on 2646 reviews.
Click here to read reviews.
  • Webhosters
  • Hostingwijzer

Products

  • Domain names
  • Webhosting
  • Reseller hosting
  • Sitebuilder
  • SSL certificates
  • VPS hosting

Support

  • Articles
  • Forum
  • Support

Versio

  • About Versio
  • Latest news
  • Partner program
  • Versio API
  • Reviews

Follow us for special offers

All prices are excluding VAT. Business accounts outside the Netherlands but within the European Union and all customers outside the European Union will not be charged with VAT.

Terms of service | Privacy policy | Disclaimer | Processor agreement | Cookie statement Copyright © 2008-2025 https://www.versio.uk/