The email sending test works correctly, but this is using the ElasticEmail mail class directly.

However when attempting to send email from the site (e.g. contact form) nothing is sent.

Comments

mike.davis created an issue. See original summary.

  • mike.davis committed 3e9b584 on 8.x-2.x
    Issue #2631012: Emails not sending when using ElasticEmailMail plugin
    
mike.davis’s picture

Status: Active » Fixed

This has been updated now

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

galactus86’s picture

I am using 8.x-2.0-beta2 but have the same problem. Test emails arrive fine, but contact form emails never get to my elastic email account. I also have the persistent balance warning. I don't need to send a ton of emails so was hoping to use the free version. Any more info on a fix for this?

mike.davis’s picture

Status: Closed (fixed) » Needs work

I have reopened this to look into this further jasonPivot to see why this isn't sending email.

With regards to the balance warning - this is due to the way that Elastic Email changed their billing, which means that this warning message is no longer valid really, so you can ignore it for the time being.

I am planning on removing it as a temporary measure but this warning could become useful if you are sending out a large number of emails and you need to purchase credit against your Elastic Email account, so I will need to have a think about this further.

Thanks
Mike

mike.davis’s picture

Hi @jasonPivot,

I have been doing some testing around the sending of the emails from the standard contact form in a Drupal 8 site and everything is sending correctly.

One thing that threw me was that the recipients email address for the standard contact form (feedback form) is set within the form so my default site setup was sending to admin@example.com.

Can you please confirm that the recipient of your contact form is set to a valid email address?

Thanks
Mike

mike.davis’s picture

Hi @jasonPivot

I have been looking at the balance warnings and this only shows if the "Low Credit Threshold" setting is set to a value higher than zero.

If you are not interested in having this warning, please set this setting to zero and the warning message will disappear.

Thanks
Mike

mike.davis’s picture

Status: Needs work » Postponed (maintainer needs more info)

  • mike.davis committed 3e9b584 on 8.x-3.x
    Issue #2631012: Emails not sending when using ElasticEmailMail plugin