Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't send email if PromotionCodeBatch email is unset #1699

Merged
merged 1 commit into from
Feb 2, 2017

Conversation

jhawthorn
Copy link
Contributor

PromotionCodeBatch has an email attribute, an email address which will
receive a notification when the batch job has completed.

Previously if this email field was empty, it would fail with

An SMTP To address is required to send a message. Set the message smtp_envelope_to, to, cc, or bcc address.

Instead, we should not send an email if the email field is blank

PromotionCodeBatch has an email attribute, an email address which will
receive a notification when the batch job has completed.

Previously if this email field was empty, it would fail with

    An SMTP To address is required to send a message. Set the message smtp_envelope_to, to, cc, or bcc address.

Instead, we should not send an email if the email field is blank
@jhawthorn jhawthorn merged commit 4727284 into solidusio:master Feb 2, 2017
@jhawthorn jhawthorn deleted the promotion_code_batch_email branch February 2, 2017 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants