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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Can't send emails with CIVIMail : mail() returned failure
Pages: [1]

Author Topic: Can't send emails with CIVIMail : mail() returned failure  (Read 3851 times)

Dynamik Marketing

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2.8
  • CMS version: Joomla 2.5.9
  • MySQL version: 5.2.17
  • PHP version: 5.5.23-55
Can't send emails with CIVIMail : mail() returned failure
March 27, 2013, 10:28:32 am
Hi everyone, sorry to ask this question, I've tried to find the answer but could'nt make my mass mailing to work.
Here's the story: I've installed a Joomla/CiviCRM for a client a year ago and everything works (CIVIMAIL) (Had to comment
/*        if (!empty($headers['Return-Path'])) {
            $from = $headers['Return-Path'];
        }*/
in smtp.php, but i worked.

Now I'm triying to install it for my own company, fresh Joomla 2.5.9 that runs perferctly, added CIVICRM 4.2.8 and when I try to send a mailing test, the page refreshes and then I get:
 Sorry but we are not able to provide this at the moment.
mail() returned failure

But when I test my Outboung Mail Settings (save and send test email) it works, I get a :
Your MAIL settings are correct. A test email has been sent to your email address.
And I get the email.....

I think I've looked everywhere, but gee I can't nail it...

Any Ideas?
Thanks everyone!
Marc.


UPDATE: I made it work by adding a Bounce address. Still testing! I'll keep you posted!

Marc.
« Last Edit: March 27, 2013, 11:18:08 am by Dynamik Marketing »

outwestlondon

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 5.29
  • CMS version: Drupal
  • MySQL version: Pass
  • PHP version: 5.3
Re: Can't send emails with CIVIMail : mail() returned failure
April 18, 2013, 05:27:09 am
Hi, have you got any further updates on this? I'm running CiviCRM on Drupal but having exactly the same problem!

How did you resolve it? 10 days in and still not able to send via CiviMail (and some rather annoyed colleagues)!

onthahustle

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2.8
  • CMS version: Joomla 2.5.9
  • MySQL version: 5.5.23-55
  • PHP version: 5.2.17
Re: Can't send emails with CIVIMail : mail() returned failure
April 21, 2013, 08:04:44 pm
I'm using Joomla.  Once I included the bounce email, I got past the "send test email" part.  It worked and the test email was sent. 

After that I had a problem with the cron job and immediately sending out the email.

After hours of testing of trial and error, I found this link to work:
http://<site>/administrator/index.php?option=com_civicrm&task=civicrm/mailing/queue&reset=1&name=username&pass=password&key=site-key

Of course make the proper changes for <site>, name, pass, and key.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Can't send emails with CIVIMail : mail() returned failure

This forum was archived on 2017-11-26.