View Single Post
Old 04-25-2008, 12:32 AM   #7 (permalink)
Cerilia
Registered User
 
Cerilia's Avatar
 
Join Date: Apr 2008
Location: England
Posts: 11
OS: XP Pro SP2


Re: Driving me crazy!

Redcore I am indebted, many many thanks...

But after uploading your code I still cant receive any feedback emails (Yes I did change addresses )!

Now I have trawled through my hosts vast database of support questions and I found this. Can I assume that in merely place this code;

Code:
Sendmail Functions
What is the path to Sendmail?

/usr/sbin/sendmail -fuser\@domainname.co.uk

You need to replace -fuser\@domainname.co.uk with a valid mailbox on your account:
ie -froot\@yourdomain.co.uk

You must leave in the -f and make sure there is a \ before the @

An example of how to use this is displayed below:
mail($to, $sub, $mess, "From: root@yourdomain.co.uk", "-froot@yourdomain.co.uk");
In this section?

Code:
// send the mail
mail($sendto, $subject, $message, $headers, * Place code here? *);
//header("Location: $gotopage");
Cerilia is offline   Reply With Quote