SMTP Error! Joomla 2.5.2

auspokey 25 Mar, 2012
Hello,

I am having issues with the email function of Chrono forms. I am running 2.5.2 of Joomla, PhP 5.3.10 and what ever I have tried, it is not working.

I have attempted PhP Mail and SMTP Mail. Both settings work when I use Email a Friend Feature however both come up with the same error for ChronoForm. Here are my Debug results:

SMTP Error! The following recipients failed: [email]registration@springhillsfc.com[/email] Data Array:
Array
(
[chronoform] => Register_to_Play
[event] => submit
[Itemid] => 507
[option] => com_chronoforms
[view] => form
[parent_name] => luke pocock
[address] => Tes
[suburb] => Tes
[post_code] => 2020
[Mobile] => 031312
[other_phone] =>
[type_of_play] => Small_Sided_Football
[child_first_name] => d
[childs_surname] => d
[date_birth] => 2012-03-06
[gender] => Male
[another_club] => No
[which_club] =>
[ffa_number] =>
[input_submit_19] => Send Now
[f940466e2b802024902475aff34f6186] => 1
[chronoform_data] => Array
(
[cf_uid] => 6aa7fa01ba5a0dbd6f6ccea11807bea9
[cf_created] => 2012-03-25 15:57:54
[cf_ipaddress] => 59.167.175.213
[cf_user_id] => 42
[chronoform] => Register_to_Play
[event] => submit
[Itemid] => 507
[option] => com_chronoforms
[view] => form
[parent_name] => luke pocock
[address] => Tes
[suburb] => Tes
[post_code] => 2020
[Mobile] => 031312
[other_phone] =>
[type_of_play] => Small_Sided_Football
[child_first_name] => d
[childs_surname] => d
[date_birth] => 2012-03-06
[gender] => Male
[another_club] => No
[which_club] =>
[ffa_number] =>
[input_submit_19] => Send Now
[f940466e2b802024902475aff34f6186] => 1
[cf_id] => 32
)

[chronoform_data_cf_id] => 32
)
Validation Errors:
Array
(
)
Debug Data
email
10
Result
An email has been SENT successfully from (Spring Hills FC Website)noreply@springhillsfc.com to [email]registration@springhillsfc.com[/email]
Body
Contact Details
Parent Name luke pocock
Address Tes
Suburb Tes
Post Code 2020
Mobile 031312
Other Phone
Child Details
Type of Play (see below) Small_Sided_Football
Child's First Name d
Child's Surname d
Date of Birth 2012-03-06
Gender Male


Has you child plated for another Club? No

If you answered yes to the previous question, please supply the following information...
Which Club?
What is your Football Federation Australia (FFA) Number?


Submitted by 59.167.175.213
Attachments
array ( )




Please Help, its driving me insane haha!

Thanks again

Luke Pocock
GreyHead 26 Mar, 2012
Hi auspokey,

I dug through the code and found that there is a Joomla! function in smtp.php that tries to check if the address is valid. The function header is

* Sends the command RCPT to the SMTP server with the TO: argument of $to.
* Returns true if the recipient was accepted false if it was rejected.
*
* Implements from rfc 821: RCPT <SP> TO:<forward-path> <CRLF>
*
* SMTP CODE SUCCESS: 250,251
* SMTP CODE FAILURE: 550,551,552,553,450,451,452
* SMTP CODE ERROR : 500,501,503,421


It looks as though this check is rejecting the [email]registration@springhillsfc.com[/email] address.

But if I check the address it looks OK

Connect:
Get MX for springhillsfc.com... OK.
Connect to mail.springhillsfc.com... OK
= 220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 04:02:21 -0600
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
> EHLO email-verifier.net
= 250-just18.justhost.com Hello email-verifier.net [209.160.72.213]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
> MAIL FROM: <info@email-verifier.net>
= 250 OK
> RCPT TO: <registration@springhillsfc.com>
= 250 Accepted
> QUIT



That makes it all a bit unclear. I'd probably try turning debug on in the PHP Mailer to see if that gave me another clue:
  /**
   * Sets SMTP class debugging on or off.
   * @var bool
   */
  public $SMTPDebug     = false;

Bob

Bob
auspokey 27 Mar, 2012
Hello,

This is the logs it has given:

SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 21:55:51 -0600 " 
SMTP -> get_lines(): $data is "220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 21:55:51 -0600 " 
SMTP -> get_lines(): $data was "220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 21:55:51 -0600 " 
SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, " 
SMTP -> get_lines(): $data is "220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 21:55:51 -0600 220-We do not authorize the use of this system to transport unsolicited, " 
SMTP -> get_lines(): $data was "220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 21:55:51 -0600 220-We do not authorize the use of this system to transport unsolicited, " 
SMTP -> get_lines(): $str is "220 and/or bulk e-mail. " 
SMTP -> get_lines(): $data is "220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 21:55:51 -0600 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. " 
SMTP -> FROM SERVER:220-just18.justhost.com ESMTP Exim 4.76 #1 Mon, 26 Mar 2012 21:55:51 -0600 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] " 
SMTP -> get_lines(): $data is "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] " 
SMTP -> get_lines(): $data was "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] " 
SMTP -> get_lines(): $str is "250-SIZE 52428800 " 
SMTP -> get_lines(): $data is "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 " 
SMTP -> get_lines(): $data was "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 " 
SMTP -> get_lines(): $str is "250-PIPELINING " 
SMTP -> get_lines(): $data is "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING " 
SMTP -> get_lines(): $data was "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING " 
SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data is "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data was "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $str is "250-STARTTLS " 
SMTP -> get_lines(): $data is "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS " 
SMTP -> get_lines(): $data was "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS " 
SMTP -> get_lines(): $str is "250 HELP " 
SMTP -> get_lines(): $data is "250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP " 
SMTP -> FROM SERVER: 250-just18.justhost.com Hello www.springhillsfc.com [173.254.28.18] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " 
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " 
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "235 Authentication succeeded " 
SMTP -> get_lines(): $data is "235 Authentication succeeded " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250 OK " 
SMTP -> get_lines(): $data is "250 OK " 
SMTP -> FROM SERVER:250 OK 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "550-Verification failed for " 
SMTP -> get_lines(): $data is "550-Verification failed for " 
SMTP -> get_lines(): $data was "550-Verification failed for " 
SMTP -> get_lines(): $str is "550-No Such User Here " 
SMTP -> get_lines(): $data is "550-Verification failed for 550-No Such User Here " 
SMTP -> get_lines(): $data was "550-Verification failed for 550-No Such User Here " 
SMTP -> get_lines(): $str is "550 Sender verify failed " 
SMTP -> get_lines(): $data is "550-Verification failed for 550-No Such User Here 550 Sender verify failed " 
SMTP -> FROM SERVER:550-Verification failed for 550-No Such User Here 550 Sender verify failed 
SMTP -> ERROR: RCPT not accepted from server: 550-Verification failed for 550-No Such User Here 550 Sender verify failed 
SMTP Error! The following recipients failed: registration@springhillsfc.com Data Array: 
GreyHead 29 Mar, 2012
Hi Luke,

Thanks for the link; I hadn't seen that exact problem before but it makes sense when I read it.

Bob
This topic is locked and no more replies can be posted.