[SOLVED] Form Builder form - new SMTP error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

[SOLVED] Form Builder form - new SMTP error

Post by jocando »

Hello

I set up a contact form using FormBuilder a few weeks ago. It worked OK (the only problem I had was the email I received had no carriage returns).

Today I tried to use the form, and I find it no longer works. I get this error message:

"Warning: fsockopen() [function.fsockopen]: unable to connect to mail.lit...pton.com:25 (Connection refused) in
/.../modules/CMSMailer/phpmailer/class.smtp.php on line 105
Sorry! There was an error handling your form submission.
   * SMTP Error: Could not connect to SMTP host."

I tried sending an email in CMSMailer, and that was fine.  I've sent test messages to and from my email account with no problem.  Does anyone have any idea what might be happening here?  I checked the class.smtp.php file but couldn't see anything.

I'm using the latest version of CMSMS(1.6.6) and Form Builder (0.6b1)

Many thanks
Jo
Last edited by jocando on Tue Feb 02, 2010 8:41 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Form Builder form - new SMTP error

Post by Dr.CSS »

I would look in system info page to see if your host made any changes as fopen is needed for module manager to work and some host will turn this off for security reasons...
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

Re: Form Builder form - new SMTP error

Post by jocando »

Thanks.  I've had a look (under Site Admin) and I can't see any problems.

It says:
fsockopen: Connection ok!
fopen: Connection ok! 


I've got reseller hosting, so I'm hosting this myself and I've made no changes. 

I've just tried doing another contact form (based on a different template) and the same error message appears when I try to submit.

Any other thoughts?

Thanks
Jo
kendo451

Re: Form Builder form - new SMTP error

Post by kendo451 »

Ever solved this?
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

Re: Form Builder form - new SMTP error

Post by jocando »

It solved itself - after about a week the error went away.  I have no idea what happened or why.
kendo451

Re: [SOLVED] Form Builder form - new SMTP error

Post by kendo451 »

That error is usually caused by rejection of the email address/password by the SMTP server.  It happened to me when I changed an email account and forgot to update the CMS Mailer settings.

Solution:

1. Verify that the username and password in your CMS Mailer actually works with the SMTP server.  You can test this with Outlook, Thunderbird, or your webmail client.

2. Once you're sure you have the right Username / PW, then go into CMS Mailer and set mailing method to SMTP and put the username and PW in at the bottom of the page.  Send yourself a test message.

3. You can always change the method to mail or sendmail, in which case it doesn't use SMTP at all.  But if you do that, the email may be blocked by SPF/SKIM spam protection for many recipients.
Locked

Return to “Modules/Add-Ons”