Example on how to script PHP on windows

You need to make sure you include the function:

ini_set("sendmail_from", "email@yourdomain.com");

(replacing email@yourdomain.com with either a variable or an email address).

All emails must be sent either to or from a valid mailbox on your account.

Article details

Category: Scripting
Sub-category: Email scripts
Last updated: 29th Nov 2007