Changing "FROM" email on php page

All WYSIWYG Web Builder support issues that are not covered in the forums below.
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
Post Reply
JohnR
 
 
Posts: 64
Joined: Sat Mar 03, 2018 11:44 pm

Changing "FROM" email on php page

Post by JohnR »

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;"
User avatar
Pablo
 
Posts: 23239
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Changing "FROM" email on php page

Post by Pablo »

You can change this via Form properties -> More
JohnR
 
 
Posts: 64
Joined: Sat Mar 03, 2018 11:44 pm

Re: Changing "FROM" email on php page

Post by JohnR »

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
User avatar
Pablo
 
Posts: 23239
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Changing "FROM" email on php page

Post by Pablo »

Yes, you can hard-code the from address via Form properties -> More

See also the FAQ:
viewtopic.php?t=32967
User avatar
BaconFries
 
 
Posts: 5874
Joined: Thu Aug 16, 2007 7:32 pm

Re: Changing "FROM" email on php page

Post by BaconFries »

for reasons known only to the website gods,not accepting it.
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:
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.
Post Reply