Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
466f308b
Commit
466f308b
authored
Nov 27, 2013
by
Marius Cramer
Browse files
Fixed SMTP commands corresponding to RFC 2821
parent
9540ba40
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/ispcmail.inc.php
View file @
466f308b
...
...
@@ -697,11 +697,11 @@ class ispcmail {
$recipname
=
$this
->
_encodeHeader
(
$recipname
,
$this
->
mail_charset
);
//Email From
fputs
(
$this
->
_smtp_conn
,
'MAIL FROM: '
.
$this
->
_mail_sender
.
$this
->
_crlf
);
fputs
(
$this
->
_smtp_conn
,
'MAIL FROM:
<
'
.
$this
->
_mail_sender
.
'>'
.
$this
->
_crlf
);
$response
=
fgets
(
$this
->
_smtp_conn
,
515
);
//Email To
fputs
(
$this
->
_smtp_conn
,
'RCPT TO: '
.
$recip
.
$this
->
_crlf
);
fputs
(
$this
->
_smtp_conn
,
'RCPT TO:
<
'
.
$recip
.
'>'
.
$this
->
_crlf
);
$response
=
fgets
(
$this
->
_smtp_conn
,
515
);
//The Email
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment