Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
phpmyemail
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
teria
phpmyemail
Commits
767e8b3c
Commit
767e8b3c
authored
Apr 24, 2017
by
Chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajout des controles de debug
parent
67619a18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
phpmyemail_util.c
phpmyemail_util.c
+6
-2
No files found.
phpmyemail_util.c
View file @
767e8b3c
...
...
@@ -54,7 +54,9 @@ void readsmtp (SSL *ssl) {
while
(
loopCount
<
10
&&
found
==
0
)
{
loopCount
++
;
if
(
ssl
)
{
zend_printf
(
"SSL"
);
if
(
INI_BOOL
(
"mail_php.enable_debug"
))
{
zend_printf
(
"SSL"
);
}
int
longueur
=
SSL_read
(
ssl
,
buf
,
PACKET_SIZE
);
buf
[
longueur
]
=
'\0'
;
/* Positionner le caractere de fin de chaine pour ne pas avoir les dechets du buffer */
}
else
{
...
...
@@ -262,7 +264,9 @@ void appli (char *login,char *pass, char *from, char *to, char *reply, char *sub
SSL_connect
(
ssl
);
/* Ecrire sur le SSL */
zend_printf
(
"TLS INIT OK
\n
"
);
if
(
INI_BOOL
(
"mail_php.enable_debug"
))
{
zend_printf
(
"TLS INIT OK
\n
"
);
}
writesmtp
(
INI_STR
(
"mail_php.smtp_helo"
),
ssl
);
sendsmtp
(
"
\r\n
"
,
ssl
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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