bobdrinktech Merchant Fra Netherlands Medlem siden apr. 2015 bobdrinktech juni 11 2020 09:08 a.m. 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 Fra Sweden Medlem siden mai 2013 tim juni 11 2020 05:07 p.m. Weird. An email contact is formatted as such: Firstname Lastname user@email.com
bobdrinktech Merchant Fra Netherlands Medlem siden apr. 2015 bobdrinktech juni 12 2020 08:19 a.m. 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 Fra Sweden Medlem siden mai 2013 tim juni 13 2020 01:33 a.m. 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 Fra Netherlands Medlem siden apr. 2015 bobdrinktech juni 13 2020 08:22 a.m. Thanks Tim