| 
	
 | 
 Posted by Jazztastic on 12/30/05 15:18 
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.
 
  
Navigation:
[Reply to this message] 
 |