1

I've had to switch away from CiviSMTP as they've gone under and I'm trying to set up an alternative. SparkPost failed as reported by others as well. I'm now trying to get SendGrid to work. I'm using it in conjunction with the Airmail Extension.

On the SMTP setup page (/civicrm/admin/setting/smtp?reset=1) test emails work fine. But neither CiviMail nor sending email via contact action are working.

With CiviMail it completes the mailing and reports 0 deliveries. All the recipients bounce with "syntax" error.

At SendGrid I've set up the webhook and tested it and it passes the test.

Any ideas.

I'm having a vague recollection that I need to allow email headers somewhere but I can't find the setting (if that is even the issue). My client needs to send out a 13K email soon so any help would be much appreciated.

I'm using:

  • CiviCRM 5.51.2
  • Airmail 2.1
  • Drupal 7.91
  • php 7.4.3
  • Mysql 8.0.30-0ubuntu0.20.04.2
11
  • Just flagging we had no issue switching to SparkPost - so not sure why it is causing others grief.
    – petednz - fuzion
    Commented Aug 5, 2022 at 20:26
  • Not addressing your question directly, but I left SendGrid's shared service due to delivery problems years ago. Switched to AWS and so much better, faster and cheaper. Using this extension: github.com/mecachisenros/civicrm-aws
    – TimETown
    Commented Aug 9, 2022 at 17:39
  • 1
    i got 404 at that link
    – petednz - fuzion
    Commented Aug 9, 2022 at 20:05
  • @TimETown mis-typed the URL. Here is the correct one: github.com/mecachisenros/aws (the repo is called "aws" and NOT "civicrm-aws." I'll check it out and report back.
    – Shai
    Commented Aug 9, 2022 at 20:14
  • @TimETown the AWS extension's form to input AWS id and secret is not allowing any data to be entered. Arghh. I wish I wasn't using the latest version of Civi.
    – Shai
    Commented Aug 9, 2022 at 21:56

2 Answers 2

1

If it's a mail-header issue, it might be about adding the Message-ID header, which you can configure at the "CiviMail Component Settings"

/civicrm/admin/setting/preferences/mailing?reset=1

That checkbox is off by default but should probably be on at this point. The box is labelled "Enable CiviMail to generate Message-ID header".

Does gmail/google now demand a messageId?

0

I was a dummy and installed https://lab.civicrm.org/extensions/sendgrid and it works. I am also considering switching to SparkPost (assuming I can get it to work) or AWS.

Not the answer you're looking for? Browse other questions tagged or ask your own question.