We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9540ba4 commit 466f308Copy full SHA for 466f308
interface/lib/classes/ispcmail.inc.php
@@ -697,11 +697,11 @@ public function send($recipients) {
697
$recipname = $this->_encodeHeader($recipname, $this->mail_charset);
698
699
//Email From
700
- fputs($this->_smtp_conn, 'MAIL FROM: ' . $this->_mail_sender . $this->_crlf);
+ fputs($this->_smtp_conn, 'MAIL FROM: <' . $this->_mail_sender . '>' . $this->_crlf);
701
$response = fgets($this->_smtp_conn, 515);
702
703
//Email To
704
- fputs($this->_smtp_conn, 'RCPT TO: ' . $recip . $this->_crlf);
+ fputs($this->_smtp_conn, 'RCPT TO: <' . $recip . '>' . $this->_crlf);
705
706
707
//The Email
0 commit comments