The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
just updated formtools 2 core and getting swift mailer errors - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: just updated formtools 2 core and getting swift mailer errors (/showthread.php?tid=353) |
just updated formtools 2 core and getting swift mailer errors - nytsua - Oct 31st, 2009 I'm trying to use swift mailer using the settings according to a post in General Discussion for Godaddy. I've tried using it in the past and haven't gotten it to work. My formtools is currently up to date as of 10/31/09 (updated tonight). Swiftmailer works when I do a test email for a form but I get the following error when trying from the live form: Fatal error: Uncaught exception 'Swift_BadResponseException' with message 'Expected response code(s) [250] but got response [553 sorry, your mail was administratively denied. (#5.7.1)]' in /home/content/w/p/i/[mylocation]/html/forms2/modules/swift_mailer/php5/Swift.php:250 Stack trace: #0 /home/content/w/p/i/[mylocation]/html/forms2/modules/swift_mailer/php5/Swift.php(310): Swift->assertCorrectResponse(Object(Swift_Events_ResponseEvent), 250) #1 /home/content/w/p/i/[mylocation]/html/forms2/modules/swift_mailer/php5/Swift.php(373): Swift->command('MAIL FROM: <.....', 250) #2 /home/content/w/p/i/[mylocation]/html/forms2/modules/swift_mailer/library.php(301): Swift->send(Object(Swift_Message), Object(Swift_RecipientList), Object(Swift_Address)) #3 /home/content/w/p/i/[mylocation]/html/forms2/global/code/emails.php(1102): swift_send_email(Array) #4 /home/content/w/p/i/[mylocation]/html/forms2/global/code/emails.php(1070): ft_process_email_template('1', 749, '1') #5 /home/content/w/p/i/[mylocation]/html/forms2/process.php(317): ft_send_ema in /home/content/w/p/i/[mylocation]/html/forms2/modules/swift_mailer/php5/Swift.php on line 250 I'm not sure why it works when I do a test but not from the real form. Any help would be appreciated. Thanks! Nytsua RE: just updated formtools 2 core and getting swift mailer errors - nytsua - Nov 12th, 2009 (Oct 31st, 2009, 8:57 PM)nytsua Wrote: I'm trying to use swift mailer using the settings according to a post in General Discussion for Godaddy. I've tried using it in the past and haven't gotten it to work. Update: Since no reply I've given up and am continuing with the changes that I made before. RE: just updated formtools 2 core and getting swift mailer errors - Ben - Nov 14th, 2009 Sorry nystua, I read your post earlier but didn't have anything to suggest... The test tab of the Email Templates pages uses a lot of the same code for displaying/sending an email, but not all. There will always be differences between that and actual emails sent via the form. The error message implies that there's some reason that the SMTP server is rejecting the email, but I'd need to look at it directly to debug it... and I'm rather short of time! Sorry I couldn't be any help. - Ben RE: just updated formtools 2 core and getting swift mailer errors - nytsua - Nov 14th, 2009 (Nov 14th, 2009, 12:09 PM)Ben Wrote: Sorry nystua, I read your post earlier but didn't have anything to suggest... The test tab of the Email Templates pages uses a lot of the same code for displaying/sending an email, but not all. There will always be differences between that and actual emails sent via the form. No problem, but thanks for replying! RE: just updated formtools 2 core and getting swift mailer errors - deadline - Apr 19th, 2010 Has this ever been solved, having the same error. Had email working correctly for about 3 months then all of a sudden.. poof! above error message. Any help with this would be great! Copy of error message: Fatal error: Uncaught exception 'Swift_BadResponseException' with message 'Expected response code(s) [250] but got response []' in /home/content/w/b/b/[mylocation]/html/formtools/modules/swift_mailer/php5/Swift.php:250 Stack trace: #0 /home/content/w/b/b/[mylocation]/html/formtools/modules/swift_mailer/php5/Swift.php(310): Swift->assertCorrectResponse(Object(Swift_Events_ResponseEvent), 250) #1 /home/content/w/b/b/[mylocation]/html/formtools/modules/swift_mailer/php5/Swift.php(261): Swift->command('EHLO [173.201.1...', 250) #2 /home/content/w/b/b/[mylocation]/html/formtools/modules/swift_mailer/php5/Swift.php(220): Swift->handshake(Object(Swift_Events_ResponseEvent)) #3 /home/content/w/b/b/[mylocation]/html/formtools/modules/swift_mailer/php5/Swift.php(101): Swift->connect() #4 /home/content/w/b/b/[mylocation]/html/formtools/modules/swift_mailer/library.php(196): Swift->__construct(Object(Swift_Connection_SMTP)) #5 /home/content/w/b/b/[mylocation]/html/formtools/global/code/emails.php(1232): swift_send_email(Array) #6 /home/content/w/b/b/[mylocation]/html/formt in /home/content/w/b/b/[mylocation]/html/formtools/modules/swift_mailer/php5/Swift.php on line 250 RE: just updated formtools 2 core and getting swift mailer errors - Ben - Apr 23rd, 2010 Hey deadline, Have you tried checking over the Swift Mailer module settings, re-saving them and re-trying the test emails? - Ben RE: just updated formtools 2 core and getting swift mailer errors - sxyshandy - Dec 2nd, 2010 Also got this error and fixed. 'Expected response code(s) [250] but got response [553 sorry, your mail was administratively denied. This was showing up when the user submits a gmail.com or yahoo.com email address. Since the form notification uses "From: user's email", and the from is an external server like yahoo or gmail, Godaddy's SMTP server rejects the message. Just change the form notification setting "from" email address to something@yourdomain.com where yourdomain.com is your godaddy domain. RE: just updated formtools 2 core and getting swift mailer errors - Ben - Dec 4th, 2010 Excellent, thanks for letting us know your fix. - Ben |