Jump to content

mail help


emediastudios

Recommended Posts

I have been using this code for a few sites i have built for the mail function.

 

<?php ini_set ("SMTP","mail.bigpond.com.au");
ini_set ("sendmail_from","[email protected]");

$EmailFrom = Trim(stripslashes($_POST['email']));
$EmailTo = "[email protected]";
$Subject = "GCProperty Online Enquiry";
$First = Trim(stripslashes($_POST['First'])); 
$email = Trim(stripslashes($_POST['email'])); 
$PostCode = Trim(stripslashes($_POST['PostCode'])); 
$Tel = Trim(stripslashes($_POST['Tel']));
$time = Trim(stripslashes($_POST['time'])); 
$emailcontact = Trim(stripslashes($_POST['emailcontact']));  
$phonecontact = Trim(stripslashes($_POST['phonecontact']));
$comments = Trim(stripslashes($_POST['comments'])); 
?>

I dont want this to continue, as my email account will be hammered with traffic.

 

I want to use another method, like CGI, how would i do that?

Link to comment
https://forums.phpfreaks.com/topic/73613-mail-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.