1

I setup a default adress in CiviMail -> From Email Adresses , like this :

"Example" <[email protected]>

but the problem is that when I send mails, the "From adress" change and become :

"Example" <[email protected]>

(I specify that I use a gmail account in the SMTP sending settings)

Is it possible to force that mailing adress so it become "[email protected]" ?

At the begining, I was using a private adress (in my own domain) for civiCRM SMTP's settings (and it worked fine), but lately we need to migrate these mails to Office365 / Exchange mails and I have never been able to get CiviCRM mailings to work with the new Office365/Outlook/Exchange settings, that's why I opted for an SMTP account that uses gmail.

7
  • have you checked both /civicrm/admin/domain?action=update&reset=1 and /civicrm/admin/options/from_email_address?reset=1
    – petednz - fuzion
    Commented Nov 6, 2018 at 19:29
  • I try the first link ( /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fdomain%3Faction%3Dupdate&reset=1 in my wordpress ) and I land on the admin page with no particular message. I try the second with /wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/options/from_email_address?reset=1 but I got an error and it seems like I got the same problem with the "from" email changing. Commented Nov 7, 2018 at 9:48
  • @petednz-fuzion The error in log file : pastebin.com/raw/b4SyVE1u Commented Nov 7, 2018 at 9:58
  • also, I replaced the "?" with a "&" in the second link and it seems to works, I land on the "From Email Adresses" page , but the [email protected] email continues to appear in the From field of my mailings. Commented Nov 7, 2018 at 10:11
  • What version of Civi are you running? Just a note that in 4.7.30 they removed the duplicate 'From email address' setting in the organizational contact that petednz is referring to in the first link.
    – RayWright
    Commented Nov 7, 2018 at 14:00

1 Answer 1

0

So I am assuming that the only thing that changed between "it worked" and "it doesn't" is to switch from your own smtp to your gmail one.

Beside the problem you mention, using smtp from gmail will not work to send mass emails, they have a lot of limits and as soon as your list has more than a handful of emails, you will have problems.

There as several providers (sendgrid, mailjet...) that are integrated with civi, and I'd recommend you switching to one of them

And it should solve out your gmail.com problem too

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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