Magento 2 Order / Shipment Emails From Address Suddenly Apache / apache@localhostUse my domain for sales emails instead of my hosting domainIncorrect Email send from addressMagento not sending shipment emails - other emails workingRemoving apache@localhost from my email header?Modify the From address of the Contacts emailMagento not sending order confirmation emails to adminGetting order/invoice emails when paying with paypalMagento Shipment Email Confirmation Being Sent TwiceMagento 2.1.6 No confirmation emails sent from frontendOrder confirmation emails not sendingSales Emails going via wrong email address magento 2.2.x
Can any NP-Complete Problem be solved using at most polynomial space (but while using exponential time?)
Should I prioritize my 401k over my student loans?
Output of "$OSTYPE:6" on old releases of Mac OS X
Dates on degrees don’t make sense – will people care?
How to get cool night-vision without lame drawbacks?
Is it illegal to withhold someone's passport and green card in California?
Inaccessible base class despite friendship
"How can you guarantee that you won't change/quit job after just couple of months?" How to respond?
Explain why a line can never intersect a plane in exactly two points.
What does the hyphen "-" mean in "tar xzf -"?
Can you find x?
Why use cross notes in sheet music for hip hop tracks?
How do I turn off a repeating trade?
Employer wants to use my work email account after I quit
How long would it take to cross the Channel in 1890's?
What is the origin of Scooby-Doo's name?
How to make clear to people I don't want to answer their "Where are you from?" question?
Array initialization optimization
Old sci-fi story: radiation mutated the animals, a boy loses a limb, but it's okay because "humans used to do great with only two arms"
Unusual mail headers, evidence of an attempted attack. Have I been pwned?
What's currently blocking the construction of the wall between Mexico and the US?
Loss of power when I remove item from the outlet
Understanding the reasoning of the woman who agreed with King Solomon to "cut the baby in half"
What is "industrial ethernet"?
Magento 2 Order / Shipment Emails From Address Suddenly Apache / apache@localhost
Use my domain for sales emails instead of my hosting domainIncorrect Email send from addressMagento not sending shipment emails - other emails workingRemoving apache@localhost from my email header?Modify the From address of the Contacts emailMagento not sending order confirmation emails to adminGetting order/invoice emails when paying with paypalMagento Shipment Email Confirmation Being Sent TwiceMagento 2.1.6 No confirmation emails sent from frontendOrder confirmation emails not sendingSales Emails going via wrong email address magento 2.2.x
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have recently updated to 2.2.4 and made a few minor changes however have just noticed that order emails are now sending with the wrong from address and is not set as per settings in Store -> Configuration -> General -> Store Email Addresses
as I believe normally sets this.
Header shows like below:
From: Apache <apache@server.co.uk>
Return-Path: apache@server.co.uk
However previous headers and the current live site set this correctly and am unsure why this has suddenly started. Emails sent from forgotten passwords works fine and from what I can tell this is only effecting the order and shipment emails.
I have tried debugged this through about a maze of files all the way down to MagentoFrameworkMailTemplateTransportBuilderByStore
and everything seems fine back to there.
The $this->message->setFrom($result['email'], $result['name']);
seems to be correct and $result['email']
and $result['name']
are correct at this stage however the from address is not set.
$this->message
uses the magentoFrameworkMailMessage
class which just extends Zend_Mail
for the setting of the from address so am unsure what could go wrong at this stage considering the variables sent to the function look fine.
Forgotten password however does not seem to use the TransportBuilderByStore so will try and figure out what is different for forgotten password emails.
I can see a similar issue here: https://github.com/magento/magento2/issues/6146 however this is very old. Has anyone else had an issue with this recently since updating? Why would this go wrong and how can I fix?
For now my best bet is just setting the from address via vhosts for each of the multi stores like below however would like to find out why this is happening?
php_admin_value sendmail_path "/usr/sbin/sendmail -fsales@domain.co.uk -F 'Sales Department <sales@domain.co.uk>' -t
magento2 email
add a comment |
I have recently updated to 2.2.4 and made a few minor changes however have just noticed that order emails are now sending with the wrong from address and is not set as per settings in Store -> Configuration -> General -> Store Email Addresses
as I believe normally sets this.
Header shows like below:
From: Apache <apache@server.co.uk>
Return-Path: apache@server.co.uk
However previous headers and the current live site set this correctly and am unsure why this has suddenly started. Emails sent from forgotten passwords works fine and from what I can tell this is only effecting the order and shipment emails.
I have tried debugged this through about a maze of files all the way down to MagentoFrameworkMailTemplateTransportBuilderByStore
and everything seems fine back to there.
The $this->message->setFrom($result['email'], $result['name']);
seems to be correct and $result['email']
and $result['name']
are correct at this stage however the from address is not set.
$this->message
uses the magentoFrameworkMailMessage
class which just extends Zend_Mail
for the setting of the from address so am unsure what could go wrong at this stage considering the variables sent to the function look fine.
Forgotten password however does not seem to use the TransportBuilderByStore so will try and figure out what is different for forgotten password emails.
I can see a similar issue here: https://github.com/magento/magento2/issues/6146 however this is very old. Has anyone else had an issue with this recently since updating? Why would this go wrong and how can I fix?
For now my best bet is just setting the from address via vhosts for each of the multi stores like below however would like to find out why this is happening?
php_admin_value sendmail_path "/usr/sbin/sendmail -fsales@domain.co.uk -F 'Sales Department <sales@domain.co.uk>' -t
magento2 email
2
Refer this issue all explanations are there, hope this will help you. github.com/magento/magento2/issues/14952
– Emipro Technologies Pvt. Ltd.
May 31 '18 at 11:18
Wow swear i've scoured github for this issue and couldn't find. Thanks so much i'll take a read.
– harri
May 31 '18 at 11:24
@EmiproTechnologiesPvt.Ltd. That was perfect thanks for that all fixed! Hopefully they sort it for 2.2.5
– harri
May 31 '18 at 12:27
add a comment |
I have recently updated to 2.2.4 and made a few minor changes however have just noticed that order emails are now sending with the wrong from address and is not set as per settings in Store -> Configuration -> General -> Store Email Addresses
as I believe normally sets this.
Header shows like below:
From: Apache <apache@server.co.uk>
Return-Path: apache@server.co.uk
However previous headers and the current live site set this correctly and am unsure why this has suddenly started. Emails sent from forgotten passwords works fine and from what I can tell this is only effecting the order and shipment emails.
I have tried debugged this through about a maze of files all the way down to MagentoFrameworkMailTemplateTransportBuilderByStore
and everything seems fine back to there.
The $this->message->setFrom($result['email'], $result['name']);
seems to be correct and $result['email']
and $result['name']
are correct at this stage however the from address is not set.
$this->message
uses the magentoFrameworkMailMessage
class which just extends Zend_Mail
for the setting of the from address so am unsure what could go wrong at this stage considering the variables sent to the function look fine.
Forgotten password however does not seem to use the TransportBuilderByStore so will try and figure out what is different for forgotten password emails.
I can see a similar issue here: https://github.com/magento/magento2/issues/6146 however this is very old. Has anyone else had an issue with this recently since updating? Why would this go wrong and how can I fix?
For now my best bet is just setting the from address via vhosts for each of the multi stores like below however would like to find out why this is happening?
php_admin_value sendmail_path "/usr/sbin/sendmail -fsales@domain.co.uk -F 'Sales Department <sales@domain.co.uk>' -t
magento2 email
I have recently updated to 2.2.4 and made a few minor changes however have just noticed that order emails are now sending with the wrong from address and is not set as per settings in Store -> Configuration -> General -> Store Email Addresses
as I believe normally sets this.
Header shows like below:
From: Apache <apache@server.co.uk>
Return-Path: apache@server.co.uk
However previous headers and the current live site set this correctly and am unsure why this has suddenly started. Emails sent from forgotten passwords works fine and from what I can tell this is only effecting the order and shipment emails.
I have tried debugged this through about a maze of files all the way down to MagentoFrameworkMailTemplateTransportBuilderByStore
and everything seems fine back to there.
The $this->message->setFrom($result['email'], $result['name']);
seems to be correct and $result['email']
and $result['name']
are correct at this stage however the from address is not set.
$this->message
uses the magentoFrameworkMailMessage
class which just extends Zend_Mail
for the setting of the from address so am unsure what could go wrong at this stage considering the variables sent to the function look fine.
Forgotten password however does not seem to use the TransportBuilderByStore so will try and figure out what is different for forgotten password emails.
I can see a similar issue here: https://github.com/magento/magento2/issues/6146 however this is very old. Has anyone else had an issue with this recently since updating? Why would this go wrong and how can I fix?
For now my best bet is just setting the from address via vhosts for each of the multi stores like below however would like to find out why this is happening?
php_admin_value sendmail_path "/usr/sbin/sendmail -fsales@domain.co.uk -F 'Sales Department <sales@domain.co.uk>' -t
magento2 email
magento2 email
edited May 31 '18 at 11:07
harri
asked May 30 '18 at 15:20
harriharri
3,16811762
3,16811762
2
Refer this issue all explanations are there, hope this will help you. github.com/magento/magento2/issues/14952
– Emipro Technologies Pvt. Ltd.
May 31 '18 at 11:18
Wow swear i've scoured github for this issue and couldn't find. Thanks so much i'll take a read.
– harri
May 31 '18 at 11:24
@EmiproTechnologiesPvt.Ltd. That was perfect thanks for that all fixed! Hopefully they sort it for 2.2.5
– harri
May 31 '18 at 12:27
add a comment |
2
Refer this issue all explanations are there, hope this will help you. github.com/magento/magento2/issues/14952
– Emipro Technologies Pvt. Ltd.
May 31 '18 at 11:18
Wow swear i've scoured github for this issue and couldn't find. Thanks so much i'll take a read.
– harri
May 31 '18 at 11:24
@EmiproTechnologiesPvt.Ltd. That was perfect thanks for that all fixed! Hopefully they sort it for 2.2.5
– harri
May 31 '18 at 12:27
2
2
Refer this issue all explanations are there, hope this will help you. github.com/magento/magento2/issues/14952
– Emipro Technologies Pvt. Ltd.
May 31 '18 at 11:18
Refer this issue all explanations are there, hope this will help you. github.com/magento/magento2/issues/14952
– Emipro Technologies Pvt. Ltd.
May 31 '18 at 11:18
Wow swear i've scoured github for this issue and couldn't find. Thanks so much i'll take a read.
– harri
May 31 '18 at 11:24
Wow swear i've scoured github for this issue and couldn't find. Thanks so much i'll take a read.
– harri
May 31 '18 at 11:24
@EmiproTechnologiesPvt.Ltd. That was perfect thanks for that all fixed! Hopefully they sort it for 2.2.5
– harri
May 31 '18 at 12:27
@EmiproTechnologiesPvt.Ltd. That was perfect thanks for that all fixed! Hopefully they sort it for 2.2.5
– harri
May 31 '18 at 12:27
add a comment |
1 Answer
1
active
oldest
votes
You can find solution from magento patch website. Kindly go through and you can fixed this issue
https://support.magento.com/hc/en-us/articles/360024855431-Order-email-sent-from-the-server-email-address
Here is best result
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f228099%2fmagento-2-order-shipment-emails-from-address-suddenly-apache-apachelocalhos%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can find solution from magento patch website. Kindly go through and you can fixed this issue
https://support.magento.com/hc/en-us/articles/360024855431-Order-email-sent-from-the-server-email-address
Here is best result
New contributor
add a comment |
You can find solution from magento patch website. Kindly go through and you can fixed this issue
https://support.magento.com/hc/en-us/articles/360024855431-Order-email-sent-from-the-server-email-address
Here is best result
New contributor
add a comment |
You can find solution from magento patch website. Kindly go through and you can fixed this issue
https://support.magento.com/hc/en-us/articles/360024855431-Order-email-sent-from-the-server-email-address
Here is best result
New contributor
You can find solution from magento patch website. Kindly go through and you can fixed this issue
https://support.magento.com/hc/en-us/articles/360024855431-Order-email-sent-from-the-server-email-address
Here is best result
New contributor
New contributor
answered Jun 13 at 15:10
Gopal GautamGopal Gautam
261
261
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f228099%2fmagento-2-order-shipment-emails-from-address-suddenly-apache-apachelocalhos%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Refer this issue all explanations are there, hope this will help you. github.com/magento/magento2/issues/14952
– Emipro Technologies Pvt. Ltd.
May 31 '18 at 11:18
Wow swear i've scoured github for this issue and couldn't find. Thanks so much i'll take a read.
– harri
May 31 '18 at 11:24
@EmiproTechnologiesPvt.Ltd. That was perfect thanks for that all fixed! Hopefully they sort it for 2.2.5
– harri
May 31 '18 at 12:27