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) »
  • civimail not sending bulk emails using url
Pages: [1]

Author Topic: civimail not sending bulk emails using url  (Read 1157 times)

paulsmithx

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
civimail not sending bulk emails using url
September 04, 2011, 06:20:41 am
Just upgraded to Drupal 7 and Civicrm 4.0.5

I can send a test mail from the smtp config page. I can send a message to a contact. I can send the bulk mail to a test user.

We aren't simply able to setup cron on our hosting service, so I've exposed the URL to start the queue on a custom menu option. Having selected the new menu option the scheduled job now reports running, but it isn't.

The delivery count shows 0%.

I'd appreciate any advice from anyone who has experienced similar.
Many thanks,
Paul

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: civimail not sending bulk emails using url
September 04, 2011, 06:27:53 am
Not being able to set up your cron is a red warning that the hosting you have is likely not appropriate for civi (or any mass mailing solution).

Ask them if you can set the sender stmp envelope, and if there is a limit on how much emails you can send before loosing any more time on that provider.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

paulsmithx

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: civimail not sending bulk emails using url
September 04, 2011, 07:17:06 am
Thanks for your reponse Xavier. I've another client on the same provider using Joomla, with civicrm (albeit an older version) who routinely send out mailings using this very method. They have a much larger database than I'm dealing with here.

I've just tried the job again with a couple of different configurations, and find that it isn't a problem with smtp, because I can send to a smaller group.

And now the plot thickens, because the job, which is says is still running, but with 0% completed is now giving tracked opens. And I've resent the job a number of times now.

uuurgh - help!

paulsmithx

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
Re: civimail not sending bulk emails using url
September 04, 2011, 08:45:37 am
It is probably worth mentioning at this stage that the mail for this site is being relayed to a third party, rather than being served by the isp hosting civicrm (on the other client's site it is sent out directly through this isp).

Having confirmed that the messages are actually being produced, I guess it narrowed it down to an smtp issue.

I set the mailer job size to 1 (!) and now it's crawling along, but they are most definitely being sent. So my guess is a batch size restriction on that 3rd party service.

Regards
Paul


silvercolt

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.05
  • CMS version: Drupal 7.8
  • MySQL version: 5.0.67
  • PHP version: 5.2.17
Re: civimail not sending bulk emails using url
September 17, 2011, 12:19:18 pm
I am experiencing some issues with CIVICRM 4.05 in using CiviMail.  The From Email is configured correctly in the system, the Bounce email is configured as well.  I have a cron job set up for the following to run every 5 minutes.

wget 'http://<MYSITE>/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=<USERNAME>&pass=<PASSWORD>&key=<MYSITEKEY>'
wget 'http://<MYSITE>/sites/all/modules/civicrm/bin/EmailProcessor.php?name=<USERNAME>&pass=<PASSWORD>&key=<MYSITEKEY>'
wget 'http://<MYSITE>/cron.php?cron_key=<MYDRUPALSITEKEY>'

When I schedule an email within CiviMail the cron jobs run fine and the system reports the email was sent successfully but no emails are ever received by the recipients. The same goes for using the Send Test Email features before submitting the bulk mail.

I enabled the mailing debug definition in the civicrm.settings.php file as: (define( 'CIVICRM_MAIL_LOG', '/MY/SITES/HOME/DIRECTORY/MYSITE.ORG/sites/default/files/civicrm/templates_c/mail.log' );

I attempted to send a bulk message again through civiMail and the messages were logged to the mail.log file without any problems.

I really could use some help on this as soon as possible to why the emails are not being sent.  My mail configuration is using the PHP mail(); method not SMTP or sendMail

The weird thing is I got one bulk message to work but than never again after that.  I also recently upgraded from Drupal 6.22 to 7.8 and CiviCRM 3.x to 4.05 last week.

Thank you in advance for any help!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: civimail not sending bulk emails using url
September 17, 2011, 02:13:38 pm
What does the wget return? Any error message?

Can you access the mail server log? Anything there?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

silvercolt

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.05
  • CMS version: Drupal 7.8
  • MySQL version: 5.0.67
  • PHP version: 5.2.17
Re: civimail not sending bulk emails using url
September 17, 2011, 02:24:47 pm
Thank you xavier for responding but I have been doing some digging all morning and found a solution I believe. Yes my wget responses are good no problem there - as far as the mail server logs my hosting server doesn't provide access to them directly. 

However, the solution I found was that my php.ini file was missing the following variables

smtp = smtp.server.com
smtp_port  = 25

I added the appropriate values to these and wha-la!  Mail started working again. Not sure how this happened but it seems to be consistently working now.  Thanks again for taking the time to respond.

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: civimail not sending bulk emails using url
September 17, 2011, 02:27:13 pm

make sure the cron user has "view all contacts" access

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • civimail not sending bulk emails using url

This forum was archived on 2017-11-26.