Why are my emails not sending from my PHP script?

NOTE:  If you are using our Xenon Server cluster, you will need to make this change to effectively run your php scripts.

When sending mail from our system we require you add the -f switch to your PHP script. This is to ensure that the message sends with a valid return path email address set and not our server address. This helps to ensure that our system does not get blacklisted and your mails send properly. Please note adding this to .htaccess will only work for PHP5.

You can add the -f switch across your domain by adding the following to your .htaccess file:
php_value mail.force_extra_parameters -fwebmaster@example.com

You will need to change webmaster@example.com to match the from address in your mail script.

Kas see vastus oli kasulik?

 Prindi artikkel

Loe veel

How do I connect to a mysql database that I have created in Plesk?

In order to connect to the database you just created in Plesk to your scripts or programs, you...

Common server path information

Common CGI Paths Perl 5: #! /usr/bin/perl Qmail: /usr/sbin/sendmail Date: /bin/date Domain...

.htaccess Tips and Tricks for Argon Hosting Cloud Server

For a comprehensive explanation on how to use a .htaccess file and how to create one, please see...

I need to be able to create thumbnails and my image program is asking for the path to Imagemagick?

For those of you who need to perform image manipulations such as build thumbnails, etc... the...

Simple .htaccess Tutorial

Introduction   In this tutorial you will find out about the .htaccess file and the power...