Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 PHP SendMail
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

vogo
Novice

Switzerland
12 Posts

Posted - 26 Jan 2015 :  15:03:15  Show Profile  Visit vogo's Homepage  Reply with Quote
The older version of DHE contains an object to give the possibility to send a mail. In the newer version the object coudn't be found, anymore.
Now, I should correct the PHP code to send mail in the following way:

//send mail
if (mail($to, $subject, $body, $header, "-f info@vogo.ch")) {
header("Location: http://www.vogo.ch");
}
else {
header("Location: Readme-SendMail.htm");
}
Because, the sending of mail will only work with following modifications:
The parameter "-f" is needed and the command "@mail(...)" must be written without "@" also just as "mail(...)".

Where can I correct that code in dhwe sendmailclient?

s.dav
Site Admin

Italy
3364 Posts

Posted - 26 Jan 2015 :  23:56:51  Show Profile  Visit s.dav's Homepage  Reply with Quote
There is the same ability integrated in the latest version of the software; check the Form object

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000