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 »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Mails didn't get send... (3.1.1)
Pages: [1]

Author Topic: Mails didn't get send... (3.1.1)  (Read 2365 times)

Tiggr

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 1
    • Rodgauer Workshop
  • CiviCRM version: 4.7.beta3
  • CMS version: Drupal 7
Mails didn't get send... (3.1.1)
January 29, 2010, 06:03:00 pm
Hi!

After updating to Version 3.1.1, CiviMail suddenly stopped sending mails. Testmails didn't get out, and the bulk mail didn't get send, but all used Mails were on old after the mailing. Sending a testmail at the configuration of the outbound mail worked still well!

I dug into this problem. The error was a validation error from mail send process. After some research, I've changed inside CRM/Mailing/BAO/Mailing.php the line

Code: [Select]
$recipient = "{$contact['display_name']} <$email>";
to

Code: [Select]
$recipient = "\"{$contact['display_name']}\" <$email>";
Now it works again...

Maybe a revival of CRM-5640?

Bye
Marcus (aka Tiggr)
« Last Edit: January 29, 2010, 06:06:33 pm by Tiggr »

jscm

  • Guest
Re: Mails didn't get send... (3.1.1)
January 31, 2010, 05:55:46 am
This work around don't solve the problem in my installation :-|

Tiggr

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 1
    • Rodgauer Workshop
  • CiviCRM version: 4.7.beta3
  • CMS version: Drupal 7
Re: Mails didn't get send... (3.1.1)
January 31, 2010, 06:01:38 am
Hi again!

This mail error is very strange! I took a look at the code!

The code change I did, should have no effect! Very strange!

If I add the two quotes, mails get send, if I remove them, they don't get send! But why?

Perhaps something spooky at my cheap shared hosting?  ???

Bye
Marcus (aka Tiggr)

jacoblee

  • Guest
Re: Mails didn't get send... (3.1.1)
January 31, 2010, 08:43:42 am
Did the code change but it did not work.

I am having same issue.

I use the Rackspace Cloud as my host.

Jacob Lee

Tiggr

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 1
    • Rodgauer Workshop
  • CiviCRM version: 4.7.beta3
  • CMS version: Drupal 7
Re: Mails didn't get send... (3.1.1)
January 31, 2010, 11:25:46 am
Hi!

There must be something strange going on with 3.1.1!

http://forum.civicrm.org/index.php/topic,11941.0.html
http://forum.civicrm.org/index.php/topic,11912.0.html

The strange thing is: It worked fine in the previos betas! :-(

Bye
Marcus (aka Tiggr)

bijama1

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
Re: Mails didn't get send... (3.1.1)
February 01, 2010, 05:05:48 am
Same problem encountered ...

Editing of Mailing.php worked in my setting!  ;D

Thanks


Tiggr

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 1
    • Rodgauer Workshop
  • CiviCRM version: 4.7.beta3
  • CMS version: Drupal 7
Re: Mails didn't get send... (3.1.1)
February 01, 2010, 05:47:44 am
Hi!

Yesterday I've played a bit with the CRM/Utils/Mail.php. I've inserted some echo "Something: $something"; for debugging, but nothing got onto the webpage when sending massmails.

So, I'm not shure, if my setup realy uses the CRM/Utils/Mail.php for sendig mails. Maybe it uses some Mail.php of the Pear-Installation from my hoster?

Strange thing...

Bye
Marcus (aka Tiggr)

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Mails didn't get send... (3.1.1)
February 01, 2010, 08:19:27 am
I think I fixed the bug behind the CiviMail in CiviCRM 3.0.4/3.1.1 not sending emails; the relevant issue is CRM-5743.

Can 3.1.1 users overwrite their CRM/Mailing/BAO/Job.php file with the one from http://svn.civicrm.org/civicrm/branches/v3.1/CRM/Mailing/BAO/Job.php and verify?
« Last Edit: February 01, 2010, 09:40:39 am by Piotr Szotkowski »
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.

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Mails didn't get send... (3.1.1)
February 01, 2010, 08:20:55 am
Quote from: Tiggr on February 01, 2010, 05:47:44 am
Yesterday I've played a bit with the CRM/Utils/Mail.php. I've inserted some echo "Something: $something"; for debugging, but nothing got onto the webpage when sending massmails.

Yes, because we turned off error reporting for mass mailings (so an error on a single email does not break the sending of all the others). This is now changed as per CRM-5744 to not be disabled on test emails (from the test step of the CiviMail wizard).
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.

Tiggr

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 1
    • Rodgauer Workshop
  • CiviCRM version: 4.7.beta3
  • CMS version: Drupal 7
Re: Mails didn't get send... (3.1.1)
February 01, 2010, 02:29:41 pm
Hi Piotr!

Quote from: Piotr Szotkowski on February 01, 2010, 08:19:27 am
Can 3.1.1 users overwrite their CRM/Mailing/BAO/Job.php file with the one from http://svn.civicrm.org/civicrm/branches/v3.1/CRM/Mailing/BAO/Job.php and verify?

That fixed the problem! All things fine now!

Thank you very much!

Bye
Marcus (aka Tiggr)

cymbalista

  • Guest
Re: Mails didn't get send... (3.1.1)
February 08, 2010, 09:06:05 am
It is not working for me.

Not even the test emails. Before I upgraded to 3.1.1, it was working fine.

André

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Mails didn't get send... (3.1.1)
February 15, 2010, 05:05:20 am
Quote from: cymbalista on February 08, 2010, 09:06:05 am
It is not working for me.
Not even the test emails. Before I upgraded to 3.1.1, it was working fine.

Can you upgrade to 3.1.2? This includes the above fix (so you don’t need to overwrite) and enables error reporting on test mailings – so you can see what goes wrong by doing a test in one of the CiviMail wizard steps.
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Mails didn't get send... (3.1.1)

This forum was archived on 2017-11-26.