Wondering how to change the 'FROM' email on a php page?
It's in the "function validateEmail($email)" html section and is set to " $header = 'From: '.$mailfrom.$eol;"
Changing "FROM" email on php page
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: Changing "FROM" email on php page
You can change this via Form properties -> More
Re: Changing "FROM" email on php page
Is there a way I can hard code the 'FROM' address?
I have an entry in the 'From' section, but the server is, for reasons known only to the website gods,
not accepting it. The code generated is as follows:
2024-12-09 10:46:36.655 [2331647] 1tKfxv-00000009mZD-1sLD <= ridgl004@sh-cp10.yyz2.servername.online U=ridgl004 Ci=2331647 P=local S=1965 M8S=0 RT=0.012s id*=E1tKfxv-00000009mZD-1sLD@sh-cp10.yyz2.servername.online T="Request for Marriage License" from <ridgl004@sh-cp10.yyz2.servername.online> for newfiejohn@gmail.com
I have an entry in the 'From' section, but the server is, for reasons known only to the website gods,
not accepting it. The code generated is as follows:
2024-12-09 10:46:36.655 [2331647] 1tKfxv-00000009mZD-1sLD <= ridgl004@sh-cp10.yyz2.servername.online U=ridgl004 Ci=2331647 P=local S=1965 M8S=0 RT=0.012s id*=E1tKfxv-00000009mZD-1sLD@sh-cp10.yyz2.servername.online T="Request for Marriage License" from <ridgl004@sh-cp10.yyz2.servername.online> for newfiejohn@gmail.com
Re: Changing "FROM" email on php page
Yes, you can hard-code the from address via Form properties -> More
See also the FAQ:
viewtopic.php?t=32967
See also the FAQ:
viewtopic.php?t=32967
- BaconFries
-
- Posts: 5873
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Changing "FROM" email on php page
From part of the error it shows your email is gmail in general host do allow this and the email should be that of the domain. This is documented at the following:for reasons known only to the website gods,not accepting it.
Forms FAQ reading from
Emails are not arriving in my inbox...
5. Does your host allow you to send email to the destination email address?
If you have previously used gmail and it worked then you may need to contact your host and ask why it no longer does and how to resolve.