Click here to Skip to main content
14,106,748 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi guys,

When we create a wordpress website, it gives us the add a plugin for sending mail by filling a contact form.

My question is, how does wordpress able to do it, do they have a mail server that it gets all the data through the contact form and sends us an email?

My question might sound a bit dumm, but I really wonder how are they doing it?

Thanks for your help in advance!

Kind Regards,
Wes Aday 10-May-14 17:20pm
Why are you not asking wordpress about it?
Ozgur Tezel 10-May-14 18:21pm
I was thinking to ask them, but I am pretty sure that there are some developers on this website who are better than them. Asking wordpress could be a solution as well, I will ask them too.
Wes Aday 10-May-14 18:52pm
Well the thing you have to think about is how would someone here know anything about how wordpress does anything?
Ozgur Tezel 10-May-14 19:04pm
I agree with you, I guess better place is the wordpress itself to get an answer for my question. Thanks for your comments and advice.
John Teague 10-Dec-14 14:40pm
Wes - WordPress is one of the topic categories people can post questions about here, just like other CMS' and frameworks. Nothing wrong with asking the question.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

WordPress, by default, uses a PHP function called mail() to send mail notifications if the host server supports it. Some servers require that all mail be sent using a valid SMTP account. In that case, host providers often include a SMTP plugin so you can configure your account credentials for sending mail from your SMTP account. When activated, the plugin overrides the default WordPress mail() function.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190518.1 | Last Updated 10 Dec 2014
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100