Search code examples
phpcontent-management-systememail-validation

Sending Email with php / own seerver


I'm wondering how you send a mail with the data filled in in a form. I have read that you can't adjust the php code, to prevent the mail entering the spam folder.

I have read that the server, which you send it from, responsible is for this.

I'm making a CMS on a server from school , for a school project. How can i fix the server settings or something to prevent that the email with register data goes to the spam folder.

Just like facebook (if you register you get a validation link in your mailbox), how did they prevent that the mail doesn't enter the spam folder?

Thanks in advance!


Solution

  • Honestly, I'd recommend you to use something like Mailgun. They take care of all that stuff so that you can focus on your app.