bobdrinktech Merchant Từ Netherlands Thành viên kể từ thg 4 2015 bobdrinktech 11 thg 6 2020 09:08 Hi, found this error email in my mailbox I have replaced the original email address with xxxx If necessary I can mail you the whole email A message that you sent contained one or more recipient addresses that were incorrectly constructed: info@xxxxxxxx.eu info@xxxxxxxx.eu: malformed address: info@xxxxxxxx.eu may not follow info@xxxxxxxx.eu This address has been ignored. There were no other addresses in your message, and so no attempt at delivery was possible.
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 11 thg 6 2020 17:07 Weird. An email contact is formatted as such: Firstname Lastname user@email.com
bobdrinktech Merchant Từ Netherlands Thành viên kể từ thg 4 2015 bobdrinktech 12 thg 6 2020 08:19 Its not the costumer email that is causing problems its the webshop email address This is four times the same shop email address info@xxxxxxxx.eu info@xxxxxxxx.eu: malformed address: info@xxxxxxxx.eu may not follow info@xxxxxxxx.eu
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 13 thg 6 2020 01:33 Try this in ent_email: if (empty($contact['name']) || $contact['name'] == $contact['email']) { return $contact['email']; } if (strtoupper(language::$selected['charset']) == 'UTF-8') { return mb_encode_mimeheader($contact['name']) .' <'. $contact['email'] .'>'; } if (preg_match('#[,;"]#', $contact['name'])) { return '"'. addcslashes($contact['name'], '"') .'" <'. $contact['email'] .'>'; } return $contact['name'] .' <'. $contact['email'] .'>'; }```
bobdrinktech Merchant Từ Netherlands Thành viên kể từ thg 4 2015 bobdrinktech 13 thg 6 2020 08:22 Thanks Tim