PHP mailer Error
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
-
-
- Posts: 18
- Joined: Fri May 29, 2009 4:42 pm
- Location: Wales
- Contact:
PHP mailer Error
Hi,
I'm have a PHP mailer Error could not instantiate mail function on forms on 2 sites.
I've spoken with my hosting company and this is what they said after looking at the page code.
$mailto = 'julia@julianicholls.co.uk';
$mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto;
ini_set('sendmail_from', $mailfrom);
so, the technican from our hosting company has changed the coding from his side - AND THIS WORKS. THE CLIENTS ARE ABLE TO SEND THE FORM.
i changed the from address in the
class.phpmailer.php /**
* The From email address for the message.
* @var string
*/
public $From = 'julia@julianicholls.co.uk
My question is, How can I fix this inside wysiwyg form?
Regards
Eirian
I'm have a PHP mailer Error could not instantiate mail function on forms on 2 sites.
I've spoken with my hosting company and this is what they said after looking at the page code.
$mailto = 'julia@julianicholls.co.uk';
$mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto;
ini_set('sendmail_from', $mailfrom);
so, the technican from our hosting company has changed the coding from his side - AND THIS WORKS. THE CLIENTS ARE ABLE TO SEND THE FORM.
i changed the from address in the
class.phpmailer.php /**
* The From email address for the message.
* @var string
*/
public $From = 'julia@julianicholls.co.uk
My question is, How can I fix this inside wysiwyg form?
Regards
Eirian
Re: PHP mailer Error
Normally it is not necessary to make any changes to the code. No one else has ever needed this code.
Are you using the latest update?
You can add custom code to the form processor via Right click -> Object HTML
Are you using the latest update?
You can add custom code to the form processor via Right click -> Object HTML
-
-
- Posts: 18
- Joined: Fri May 29, 2009 4:42 pm
- Location: Wales
- Contact:
Re: PHP mailer Error
thank you for your reply.
Eirian
Eirian
-
-
- Posts: 17
- Joined: Wed Oct 29, 2014 6:44 pm
Re: PHP mailer Error
Hi,
Still having several of our clients cannot receive email from their form on the websites.
I was told by our ISP to add a code or change some settings on the form.
The ISP added the following code:
i changed the from address in the class.phpmailer.php /**
* The From email address for the message.
* @var string
*/
public $From = 'julia@julianicholls.co.uk ';
How do I add this code to other forms on other website? And do I really need to do this? The forms on all website have worked perfectly for many years. I really hope someone can help as I have no knowledge of coding.
Thanks you
Eleri
Still having several of our clients cannot receive email from their form on the websites.
I was told by our ISP to add a code or change some settings on the form.
The ISP added the following code:
i changed the from address in the class.phpmailer.php /**
* The From email address for the message.
* @var string
*/
public $From = 'julia@julianicholls.co.uk ';
How do I add this code to other forms on other website? And do I really need to do this? The forms on all website have worked perfectly for many years. I really hope someone can help as I have no knowledge of coding.
Thanks you
Eleri
Re: PHP mailer Error
You can add custom code to the form processor via Right click -> Object HTML
-
-
- Posts: 17
- Joined: Wed Oct 29, 2014 6:44 pm
Re: PHP mailer Error
Hi, Thanks for quick reply. What code would you suggest that I use? I use WYSIWYG Web Builder Form .
I was told by my ISP than I should "make the form element a STATIC value rather than a variable"
What code should I use and can I add that code to the Object HTMl you suggested?
I hope that you can help, as I am desperate, many of my clients are now not receiving any details from the forms on their websites.
Thanks
Eleri.
I was told by my ISP than I should "make the form element a STATIC value rather than a variable"
What code should I use and can I add that code to the Object HTMl you suggested?
I hope that you can help, as I am desperate, many of my clients are now not receiving any details from the forms on their websites.
Thanks
Eleri.

Re: PHP mailer Error
In WB14 you can set the 'from' address to a fixed value:

I am not sure if that will work with your host but you can try.

I am not sure if that will work with your host but you can try.
I'm sorry, I do not know what that means.I was told by my ISP than I should "make the form element a STATIC value rather than a variable"
If it suddenly stopped working and you did not change anything then maybe you can ask your web host to undo the changes?I hope that you can help, as I am desperate, many of my clients are now not receiving any details from the forms on their websites.
-
-
- Posts: 18
- Joined: Fri May 29, 2009 4:42 pm
- Location: Wales
- Contact:
Re: PHP mailer Error
Thank you so much for your advice. Inserting the From: value I think solved the issue. I will need to check on all the other websites now.
Regards
Eirian
Regards
Eirian