Click here to Skip to main content
16,020,673 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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,
Ozgur
Posted
Comments
[no name] 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.
[no name] 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

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900