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) »
  • CiviMail not sending even with correct smtp settings
Pages: [1]

Author Topic: CiviMail not sending even with correct smtp settings  (Read 3375 times)

cindywise

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67
  • PHP version: 5.2.5
CiviMail not sending even with correct smtp settings
March 06, 2011, 08:07:18 pm
I have just installed Civicrm 3.3 on Joomla 1.5. I configured the outward email settings (smtp) and it tested out fine.
I then set up the cron job which I think is correct.
But when I try to set up an email, when I get to test the mailing, it gives me this error message:

Sorry. A non-recoverable error has occurred.
Invalid response code received from SMTP (outbound mail) server while attempting to send email. This is often caused by a misconfiguration in the CiviCRM Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP).

I have also continued to set up the mailing from there and scheduled it to send out immediately, but it never does.
I have tried this repeatedly without success.
I don't know if this is a cronjob problem or something else.
Any advice would be appreciated.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: CiviMail not sending even with correct smtp settings
March 06, 2011, 08:43:21 pm
Could you confirm that CiviCRM is able to send normal mail with your SMTP settings.

You could check bye doing 'Send An Email' Or 'Send An Email To Contacts' activity.

Also you could confirm your SMTP settings by 'Save & Send Test Email' from SMTP settings page.

kiran
You Are Designed To Choose... Defined By Choice.

cindywise

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67
  • PHP version: 5.2.5
Re: CiviMail not sending even with correct smtp settings
March 07, 2011, 10:42:52 am
I have sent an email to a contact and it went through fine.
I also did a "save and send test email' from SMTP setting page and that worked as well.

The only problem seems to be with bulk scheduled mailings.


mdlueck

  • Ask me questions
  • ****
  • Posts: 382
  • Karma: 4
  • CiviCRM version: 4.7.24
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.54
  • PHP version: 5.3.10
Re: CiviMail not sending even with correct smtp settings
March 07, 2011, 10:50:45 am
Quote from: cindywise on March 07, 2011, 10:42:52 am
The only problem seems to be with bulk scheduled mailings.

So do you have civimail.cronjob.php properly configured in your site?
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

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 even with correct smtp settings
March 07, 2011, 10:55:25 am
Hi,

To have a working mail system, you need to configure a mailbox, set up a 2 cronjobs, possibly creating a DNS record and put the right information in the right screen in CiviCRM.

Seems that at least civimail.cronjob.php isn't working or hasn't be put as a cronjob.

A chapter in our book "Understanding CiviCRM" is available online http://en.flossmanuals.net/CiviCRM/SystemConfiguration and describes how to do that.

X+

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

cindywise

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67
  • PHP version: 5.2.5
Re: CiviMail not sending even with correct smtp settings
March 09, 2011, 12:12:11 pm
I want to thank everyone who has contributed suggestions.

I am fairly sure that my cron job is not working.

In my cpanel, under the cron job, I have put:

wget -O - -q -t 1 --post-data='name=joomlausername&pass=joomlapassword&key=keyplacedincivicrm.settings' http://www.example.org/direct/pathway/to/civimail.cronjob.php ( I put the correct values in all places)

but it doesn't work.

I also read that I need to create a file called civicrm-wgetrc but I don't know where to put it.
Also, I need to run a script for this file, but I am not sure how to run this script.

export WGETRC=civicrm-wgetrc
wget -O - -q -t 1 \
http://www.example.org/administrator/components/com_civicrm/civicrm/bin/civimail.cronjob.php


With a little more instructions, I think I can get it right.
Thanks.
Cindy

mdlueck

  • Ask me questions
  • ****
  • Posts: 382
  • Karma: 4
  • CiviCRM version: 4.7.24
  • CMS version: Drupal 6.x
  • MySQL version: 5.5.54
  • PHP version: 5.3.10
Re: CiviMail not sending even with correct smtp settings
March 09, 2011, 01:39:51 pm
Perhaps if you have shell / ssh access try running the wget command from the command line and see if any sort of error message is displayed. So, run EXACTLY what you are trying to run with cron at the shell command line instead.

Oh, I just realized, "wget"... do you not have php-cli on your server? I was having success running CiviMail with php-cli.
« Last Edit: March 09, 2011, 01:44:39 pm by mdlueck »
--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

cindywise

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67
  • PHP version: 5.2.5
Re: CiviMail not sending even with correct smtp settings
March 09, 2011, 02:07:12 pm
I do not have shell/ssh access so I am wondering if CiviMail can be installed without such access?
All of the instructions in the documentation seem to assume you have this type of access. Does that mean you have to find/pay someone to set this up for you?

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 even with correct smtp settings
March 09, 2011, 02:24:47 pm
Should work. Try to access the cron url from within your browser, should give you more info.


Check the chapter in our book "Understanding CiviCRM" is available online http://en.flossmanuals.net/CiviCRM/SystemConfiguration it describes how to do it evenn without shell.


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

cindywise

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67
  • PHP version: 5.2.5
Re: CiviMail not sending even with correct smtp settings
March 11, 2011, 11:18:43 am
To xavier,
I have followed the instructions in the manual and have shown the cron job that I created in one of my first postings of this thread - to no avail.
If anyone knows of a civicrm techie who does small jobs like fixing this bulk mail function, please let me know.
Thanks.



Check the chapter in our book "Understanding CiviCRM" is available online http://en.flossmanuals.net/CiviCRM/SystemConfiguration it describes how to do it evenn without shell.


X+

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 even with correct smtp settings
March 11, 2011, 11:32:16 pm
Two things are missing on our doc

1) You should test first if the url works from your brower, visiting the page:

http://www.example.org/sites/all/modules/civicrm/bin/EmailProcessor.php?name=mailprocess&pass=seol-lzprm42amv-psyc&key=yoursiteinstallkey

(or equivalent path in joomla)

2) As of 3.3 the user mailprocess needs to have access to civicrm and (I think) civimail

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

cindywise

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.3
  • CMS version: Joomla 1.5
  • MySQL version: 5.0.67
  • PHP version: 5.2.5
Re: CiviMail not sending even with correct smtp settings
March 12, 2011, 06:35:12 am
I have tried the url with the corresponding pathway for my joomla setup and I get a 404 Page not found error message. I also tried this url with CiviMailProcessor.php with the same result.

I am not sure what you mean by point 2 - that the user mailprocess needs to have access to civicrm and civimail - how do I check this out?

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 even with correct smtp settings
March 12, 2011, 10:09:34 am
Hi,

I don't know the path on joomla, but you ,might save you a lot of pain and lost time by hiring a consultant to install it for you.

Good luck

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • CiviMail not sending even with correct smtp settings

This forum was archived on 2017-11-26.