Email is configured correctly, but refused by recepient

Merchant
Tól től United States
Tagság aug. 2024 óta

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
Tól től Sweden
Tagság máj. 2013 óta
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
Tól től United States
Tagság aug. 2024 óta

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

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

What was the name you tried?

Merchant
Tól től United States
Tagság aug. 2024 óta

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

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
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
Tól től United States
Tagság aug. 2024 óta

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
Tól től Sweden
Tagság máj. 2013 óta
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.

Te
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.