Mail form problem
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Mail form problem

From: Jazztastic <jazztoe@hotmail.com>
Date: Fri Dec 30 2005 - 14:18:17 CET

I'm trying to send information from a contact page to my own email
adress. I have tried several php scripts but none of them seem to work
on the servers from Directnick. I contacted them and they came up with
the following:

(quote)
For the mail function to work, you must send the mail as if it were
from A VALID Premium Hosting POP3 account. You do this by including the
name of the account in the mail headers, such as...

mail('nobody@example.com', 'the subject', 'the message', null, '-f{put
your pop3 email address here}');

OR

$to = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: {put your pop3 email address here}' . "/r/n";
mail($to, $subject, $message, $headers);
(unquote)

Can someone please instruct me how to implement tis into a contact
form? Please be patient i'm a novice.
Received on Tue Jan 3 03:50:18 2006