Email is configured correctly, but refused by recepient

Merchant
Von United States
Mitglied seit Aug. 2024

Hey there!

So I'm having an issue with emails being recived by the customer. Emails generated by LiteCart are sent correctly but rejected by the recepient mail service. DMARC is on point, all other safety requirements are there as well.
Ideas where to look to fix it?

GMX says that LiteCart generated emails are missing sender information basically.

tim
Founder
Von Sweden
Mitglied seit Mai 2013
tim

You need to change your password as you posted it here in the forum.

Looking at your sender name, could you try a regular name without specials & : ?

Merchant
Von United States
Mitglied seit Aug. 2024

[quote]Looking at your sender name, could you try a regular name without specials & : ?[/quote]
Tried that. Same results.

tim
Founder
Von Sweden
Mitglied seit Mai 2013
tim

What was the name you tried?

Merchant
Von United States
Mitglied seit Aug. 2024

[quote]What was the name you tried?[/quote]
 SPQR and CO

tim
Founder
Von Sweden
Mitglied seit Mai 2013
tim

What happens if you edit includes/entities/ent_email.inc.php and substitute the format_contact() function with this:


        return '"'. addcslashes($contact['name'], '"') .'" <'. $contact['email'] .'>';
    }```
Merchant
Von United States
Mitglied seit Aug. 2024

I get error code after placing order:

Fatal error: syntax error, unexpected token "if", expecting "function" or "const" in ~/includes/entities/ent_email.inc.php (Line 235)

After replacing:

public function format_contact($contact) {

      if (empty($contact['name']) || $contact['name'] == $contact['email']) {
        return $contact['email'];
      }

with

public function format_contact($contact) {
        return '"'. addcslashes($contact['name'], '"') .'" <'. $contact['email'] .'>';
    }

tim
Founder
Von Sweden
Mitglied seit Mai 2013
tim

This might mean the receiving web server is always expecting to wrap the name in double quotes. I thought the standard was to use quotations if the name contained a comma or special charcters.

Sie
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.