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 emails. Bounce Type says "Syntax"
Pages: [1]

Author Topic: CiviMail not sending emails. Bounce Type says "Syntax"  (Read 797 times)

NathanMc

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
CiviMail not sending emails. Bounce Type says "Syntax"
February 19, 2013, 11:40:29 pm
Hello,

I have been trying to figure out how to configure CiviMail for the past few hours and can't figure out what's wrong.  Every time I send an email, it returns a bounce with the bounce type Syntax.

I am using CiviCRM 4.2.7 on Joomla 2.5.9.

does anyone have any suggestions?

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: CiviMail not sending emails. Bounce Type says "Syntax"
February 21, 2013, 01:16:19 pm
My guess is server configuration mail issues.  Try checking your mail log to see copies of the actual mails being sent.

Also try switching to a different mail sending method:  mail(), Smtp, and sendmail are all available.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

NathanMc

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
Re: CiviMail not sending emails. Bounce Type says "Syntax"
February 21, 2013, 01:29:30 pm
I figured it out. 

in the file .../administrator/components/com_civicrm/civicrm/packages/Mail/stmp.php

I commented out

if (!empty($headers['Return-Path'])) {
            $from = $headers['Return-Path'];
        }

if (!isset($from)) {
            $this->_smtp->rset();
            return PEAR::raiseError('No From: address has been provided',
                                    PEAR_MAIL_SMTP_ERROR_FROM);


and it now works.

Thanks,

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail not sending emails. Bounce Type says "Syntax"

This forum was archived on 2017-11-26.