CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • SMTP mail test working ok but not the civimail test
Pages: [1]

Author Topic: SMTP mail test working ok but not the civimail test  (Read 5384 times)

davidt

  • Guest
SMTP mail test working ok but not the civimail test
September 19, 2009, 08:41:28 pm
(I'm using google apps if that does anything)

Apparently civicrm can send email but not in the case of civimail (which is annoying) because many people around here seems to have no problem

anyway after few hours of fiddling I think it's time to tap in the crowd wisdom

I turned the smtp debug to true so I can see that the civimail email is well received :

Code: [Select]
DEBUG: Recv: 220 mx.google.com ESMTP 2sm5992274agd.27 DEBUG: Send: EHLO www.defivert.org DEBUG: Recv: 250-mx.google.com at your service, [208.78.102.247] DEBUG: Recv: 250-SIZE 35651584 DEBUG: Recv: 250-8BITMIME DEBUG: Recv: 250-AUTH LOGIN PLAIN DEBUG: Recv: 250-ENHANCEDSTATUSCODES DEBUG: Recv: 250 PIPELINING DEBUG: Send: AUTH LOGIN DEBUG: Recv: 334 VXNlcm5hbWU6 DEBUG: Send: ZHZxQGRlZml2ZXJ0Lm9yZw== DEBUG: Recv: 334 UGFzc3dvcmQ6 DEBUG: Send: ODk4Wjc1 DEBUG: Recv: 235 2.7.0 Accepted DEBUG: Send: RSET DEBUG: Recv: 250 2.1.5 Flushed 2sm5992274agd.27 DEBUG: Send: QUIT DEBUG: Recv: 221 2.0.0 closing connection 2sm5992274agd.27

I tried to send many other account so far and it seems the same problem, the email never reach the inbox

I also have read this thread http://forum.civicrm.org/index.php/topic,9155.0.html

but it seems to a be a different problem because I use a from email that is a real inbox (plus it's not failing)

so where should I start looking ?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: SMTP mail test working ok but not the civimail test
September 20, 2009, 08:10:22 am

I would try a different smtp server and see if civimail delivers via that smtp server. that way you can isolate it to the google apps smtp server or civimail

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

davidt

  • Guest
Re: SMTP mail test working ok but not the civimail test
September 23, 2009, 12:45:54 pm
Same thing,

I tried several SMTP server and the SMTP test works but the civiMail test does not work

not sure where to go next

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: SMTP mail test working ok but not the civimail test
September 25, 2009, 01:59:44 am
Which version of CiviCRM are you using (ideally, please update your forum profile)?

Are there any non-US-ASCII characters in your headers (sender, subject, etc.)?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

davidt

  • Guest
Re: SMTP mail test working ok but not the civimail test
September 25, 2009, 11:11:56 am
I'm using civicrm 2.2.5  and there's only ascii characters in the email

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: SMTP mail test working ok but not the civimail test
September 25, 2009, 02:34:45 pm

Assuming you have decent php skills, I would do the following:

1. Enable CiviCRM mail log (check: http://forum.civicrm.org/index.php/topic,9734.msg42002.html#msg42002)

2. Send a civimail which has the issue. Find the corresponding email file and the mail params

3. Write a php mail script that uses the same params and the same smtp server. Will give you a smaller piece of code to debug. Preferably use the CRM_Utils_Mail::send function

4. let us know your findings

alternatively you can try using CiviSMTP (http://civismtp.uas.coop). Quite a few civimail folks are using it. You can check their forum posts here:

http://forum.civicrm.org/index.php/board,25.0.html

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: SMTP mail test working ok but not the civimail test
September 26, 2009, 07:46:32 pm
David,

I can't solve your problem, but I can help prevent another.

In your original post, you have apparently given the world your SMTP server, login, and password (in the debug output).

Can I suggest you change you password to protect your account against misuse?

Ken

davidt

  • Guest
Re: SMTP mail test working ok but not the civimail test
September 29, 2009, 05:24:26 am
Thanks

don't worry I already change de pwd several time since then

davidt

  • Guest
Re: SMTP mail test working ok but not the civimail test
September 29, 2009, 05:29:09 am
Quote from: Donald Lobo on September 25, 2009, 02:34:45 pm

Assuming you have decent php skills, I would do the following:

1. Enable CiviCRM mail log (check: http://forum.civicrm.org/index.php/topic,9734.msg42002.html#msg42002)

2. Send a civimail which has the issue. Find the corresponding email file and the mail params

3. Write a php mail script that uses the same params and the same smtp server. Will give you a smaller piece of code to debug. Preferably use the CRM_Utils_Mail::send function

4. let us know your findings

alternatively you can try using CiviSMTP (http://civismtp.uas.coop). Quite a few civimail folks are using it. You can check their forum posts here:

http://forum.civicrm.org/index.php/board,25.0.html

lobo


Thanks, I have the ressource to do that, but it's not the priority, I will probably buy time  and use civismtp for the time being, we will decide that tonight

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • SMTP mail test working ok but not the civimail test

This forum was archived on 2017-11-26.