Jump to content

How to change SENDER on outgoing e-mails


Recommended Posts

Hi there!

 

For a couple of days now, all of my store's e-mail have been returned. Before that, most just got thrown in the junk folder. Using PrestaShop 1.6, PHP and Zohomail. With SMTP I had no worries with e-mails, but I had migrate my shop and my current host only allows PHP. So there are often issues with outgoing mail.

 

This is the mail system at host atria.elkdata.ee.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<[email protected]>: host gmail-smtp-in.l.google.com[64.233.162.27] said:
550-5.7.1 [185.7.252.97 13] Messages with multiple addresses in From:
550 5.7.1 header are not accepted
. d21si7291913lfc.268 - gsmtp (in reply to
end of DATA command)
Reporting-MTA: dns; atria.elkdata.ee
X-Postfix-Queue-ID: AF7A775941
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Sun, 5 Mar 2017 10:33:19 +0200 (EET)

Final-Recipient: rfc822; [email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [185.7.252.97 13] Messages with mul=
tiple
addresses in From: 550 5.7.1 header are not accepted. d21si7291913lfc=
.268 -
gsmtp

Return-Path: <[email protected]>
Received: by atria.elkdata.ee (Postfix, from userid 2068)
    id AF7A775941; Sun, 5 Mar 2017 10:33:19 +0200 (EET)
To: Joosep Kruusmaa <[email protected]>
Subject: =?utf-8?Q?[AutoCare.ee_-_Chemical_Guys_auto=C5=A1ampoonid,_po?= =?utf-8?Q?leerimisvahendid,_autovahad,_puhastustarvikud]_Maks?= =?utf-8?Q?e_laekumise_ootel?=
X-PHP-Script: autocare.ee/index.php for 217.71.44.250
From: =?utf-8?Q?AutoCare.ee_-_Chemical_Guys_auto=C5=[email protected],
    [email protected], =?utf-8?Q?[email protected],
    [email protected], _puhastustarvikud?= <[email protected]>

Reply-To: [email protected]
Date: Sun, 05 Mar 2017 10:33:19 +0200
X-LibVersion: 3.3.2
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="_=_swift-98802387558bbcd4fa528d7.31408444_=_"
Content-Transfer-Encoding: 7bit
Message-ID: <[email protected]>

 

So, the problem seems to be SENDER and SUBJECT of outgoing e-mails, which have changed somehow and now contain adresses of the new host. How can I change these?

Link to comment
Share on other sites

What do you have as the "Shop name" and "Shop email" on the Preferences > Store Contacts tab?

 

Shop name: AutoCare.ee - Chemical Guys autošampoonid, poleerimisvahendid, autovahad, puhastustarvikud

Shop e-mail: [email protected]

 

Same as it's always been.

 

When I look at the sent e-mail log from my BO, the SUBJECT is displayed as it should be:

[AutoCare.ee - Chemical Guys autošampoonid, poleerimisvahendid, autovahad, puhastustarvikud] Makse laekumise ootel

 

but the actual e-mail that goes out, has a SUBJECT:

=?utf-8?Q?[AutoCare.ee_-_Chemical_Guys_auto=C5=A1ampoonid,_po?= =?utf-8?Q?leerimisvahendid,_autovahad,_puhastustarvikud]_Maks?= =?utf-8?Q?e_laekumise_ootel?="

Edited by gaiuspahk (see edit history)
Link to comment
Share on other sites

It seems to be an encoding problem. Make sure your server is encoding emails in UTF-8 format. I think a header like the following should do it:
Content-Type: text/plain; charset=utf-8

Maybe ask your host for support.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...