Formbuilder Error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
martindickerson

Formbuilder Error

Post by martindickerson »

Hello,

I am getting the following error message when I try to send a message from a from created in Formbuilder.

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.foipro.org.au:25 in /home2/foipro0/public_html/modules/CMSMailer/phpmailer/class.smtp.php on line 105
Sorry! There was an error handling your form submission.

I have setup CMSMailer correctly and can successfully send and receive email using the CMSMailer 'test email' function and the built in form page tag:

{contact_form email="info@foipro.org.au"}

All help appreciated.

Regards,

Martin
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: Formbuilder Error

Post by carasmo »

Man. I wish someone would have gotten back to you. Your error was more descriptive than mine, but it is essentially the same error. I had CMSmailer working and tried all the suggestions, such as chaning SMTP to mail, etc.,

What I finally did, since it was only on this host that I was having this issue is that I went and created an email address with the host, used that as the from address in the form builder. Removed the email address from that comes with the standard default contact form and added a new input text field called Email address and it works like a charm now.

According to the host, they (and I suspect other hosts) are turning off the ability to have form scripts use the "from email address" form filed as the sender's email address, due to spam. So the sender must be a real email address on the domain where the form is hosted.
Locked

Return to “CMSMS Core”