HTML, PHP & POSTFIX
#4
RE: HTML, PHP & POSTFIX
(12-18-2016, 11:50 PM)Ron-e Wrote: Just took a quick look:
(12-18-2016, 11:20 PM)kamzo Wrote:
PHP Code:
mail("quotes@mydomain.co.za"$name$contact$service$budget$company$message$from); 
Check how the mail() function is used.

You can easily use something like:

PHP Code:
$to  "quotes@mydomain.co.za";
$subject  "the subject";
$message2 "name: $name \r\n".
"Contact: $contact \r\n".
"service: $service \r\n".
"budget: $budget \r\n".
"Company: $company \r\n".
"message: $message';
$headers        = "Fromserver@mydomain.co.za \r\n" .
"
X-MailerPHP/" . phpversion();

mail(
$to$subject$message2$headers); 

Did not test this....

Tried something similar before !!
And this as well, Didn't work 

It seems odd as for my contact form it works perfectly 

I think this issue is server side
Reply


Messages In This Thread
HTML, PHP & POSTFIX - by kamzo - 12-18-2016, 11:20 PM
RE: HTML, PHP & POSTFIX - by Ron-e - 12-18-2016, 11:50 PM
RE: HTML, PHP & POSTFIX - by Ron-e - 12-18-2016, 11:51 PM
RE: HTML, PHP & POSTFIX - by kamzo - 12-19-2016, 05:43 AM
RE: HTML, PHP & POSTFIX - by Ron-e - 12-19-2016, 02:24 PM
RE: HTML, PHP & POSTFIX - by Ron-e - 12-19-2016, 02:27 PM
RE: HTML, PHP & POSTFIX - by kamzo - 12-19-2016, 10:00 PM
RE: HTML, PHP & POSTFIX - by Me.B - 12-19-2016, 06:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
1.0.2 1.0.3 postfix fix not work andykimpe 20 38 ,951 06-12-2021, 09:54 PM
Last Post: andykimpe
Postfix relay specific domains to mailjet johnnyp 0 3 ,013 01-29-2021, 04:44 AM
Last Post: johnnyp
Site Not Updating changes made in The HTML file me7leelee 4 11 ,203 05-20-2020, 06:29 PM
Last Post: 5050

Forum Jump:


Users browsing this thread: 1 Guest(s)