PHP Mail

A good starting point for your PHP form is this article: http://64.13.255.16/articles/bulletproof_contact_form_with_php/

T
o get this form to work with our hosting properly you will need to set the "From" address in the code as below:

Where the code says: 
mail($to,$subject,$message,$headers);

You need to add the from address in this format:
mail($to,$subject,$message,$headers,"-f your@email.here");


The address should be one thats activated on your server.

PHP safe mode will also need to be turned off in your plesk control panel. 
  • 197 Users Found This Useful
Was this answer helpful?

Related Articles

iPhone Sent Mail

How to set up the iPhone so that it stores sent items on the serverOn the iPhone:1. Click...

E-mail settings for Android phones

To set up your e-mail account on your Android phone, please follow the below steps: 1) Locate...

E-mail settings for iPhones

To set up your e-mail account on your iPhone, please follow the below steps: 1) Go to Settings...

What is the size limit of emails and attachments?

We have a limit on max email sizes, so that includes the message & any attachments. The limit...