php-simple-mail icon indicating copy to clipboard operation
php-simple-mail copied to clipboard

Gmail and Yahoo not receiving messages

Open icefront opened this issue 8 years ago • 2 comments

I had to change the encodeUtf8() function to receive messages on Gmail and Yahoo:

public function encodeUtf8($value) {
	$value = trim($value);
	return mb_detect_encoding($value) === 'ASCII' ? $value : $this->encodeUtf8Word($value);
}

icefront avatar Sep 01 '17 02:09 icefront

@eoghanobrien: Do you think this worth a pull request?

@icefront: Would you create an example to demonstrate the problem?

k00ni avatar Jan 12 '18 08:01 k00ni

@k00ni Yes, a pull request that passes the tests and adds a test for this case would be accepted.

eoghanobrien avatar Mar 16 '18 15:03 eoghanobrien