@@ -162,7 +162,7 @@ static zend_string *php_win32_mail_trim_header(const char *header)
162
162
return result2 ;
163
163
}
164
164
165
- /*********************************************************************
165
+ // *********************************************************************
166
166
// Name: TSendMail
167
167
// Input: 1) host: Name of the mail host where the SMTP server resides
168
168
// max accepted length of name = 256
@@ -174,7 +174,7 @@ static zend_string *php_win32_mail_trim_header(const char *header)
174
174
// SUCCESS otherwise.
175
175
//
176
176
// See SendText() for additional args!
177
- //********************************************************************/
177
+ //*********************************************************************
178
178
PHPAPI int TSendMail (const char * host , int * error , char * * error_message ,
179
179
const char * headers , const char * Subject , const char * mailTo , const char * data ,
180
180
char * mailCc , char * mailBcc , char * mailRPath )
@@ -291,14 +291,14 @@ PHPAPI int TSendMail(const char *host, int *error, char **error_message,
291
291
}
292
292
}
293
293
294
- //********************************************************************
294
+ //*********************************************************************
295
295
// Name: TSendMail::~TSendMail
296
296
// Input:
297
297
// Output:
298
298
// Description: DESTRUCTOR
299
299
// Author/Date: jcar 20/9/96
300
300
// History:
301
- //********************************************************************/
301
+ //*********************************************************************
302
302
PHPAPI void TSMClose (void )
303
303
{
304
304
Post ("QUIT\r\n" );
@@ -313,14 +313,14 @@ PHPAPI void TSMClose(void)
313
313
}
314
314
315
315
316
- /*********************************************************************
316
+ // *********************************************************************
317
317
// Name: char *GetSMErrorText
318
318
// Input: Error index returned by the member functions
319
319
// Output: pointer to a string containing the error description
320
320
// Description:
321
321
// Author/Date: jcar 20/9/96
322
322
// History:
323
- //*******************************************************************/
323
+ //*********************************************************************
324
324
PHPAPI char * GetSMErrorText (int index )
325
325
{
326
326
if (MIN_ERROR_INDEX <= index && index < MAX_ERROR_INDEX ) {
@@ -364,7 +364,7 @@ static char *find_address(char *list, char **state)
364
364
return list ;
365
365
}
366
366
367
- /*********************************************************************
367
+ // *********************************************************************
368
368
// Name: SendText
369
369
// Input: 1) RPath: return path of the message
370
370
// Is used to fill the "Return-Path" and the
@@ -381,7 +381,7 @@ static char *find_address(char *list, char **state)
381
381
// Description:
382
382
// Author/Date: jcar 20/9/96
383
383
// History:
384
- //*******************************************************************/
384
+ //*********************************************************************
385
385
static int SendText (char * RPath , const char * Subject , const char * mailTo , char * mailCc , char * mailBcc , const char * data ,
386
386
const char * headers , char * headers_lc , char * * error_message )
387
387
{
@@ -698,7 +698,7 @@ static int addToHeader(char **header_buffer, const char *specifier, const char *
698
698
return 1 ;
699
699
}
700
700
701
- /*********************************************************************
701
+ // *********************************************************************
702
702
// Name: PostHeader
703
703
// Input: 1) return path
704
704
// 2) Subject
@@ -708,7 +708,7 @@ static int addToHeader(char **header_buffer, const char *specifier, const char *
708
708
// Description:
709
709
// Author/Date: jcar 20/9/96
710
710
// History:
711
- //********************************************************************/
711
+ //*********************************************************************
712
712
static int PostHeader (char * RPath , const char * Subject , const char * mailTo , char * xheaders )
713
713
{
714
714
/* Print message header according to RFC 822 */
@@ -785,14 +785,14 @@ static int PostHeader(char *RPath, const char *Subject, const char *mailTo, char
785
785
786
786
787
787
788
- /*********************************************************************
788
+ // *********************************************************************
789
789
// Name: MailConnect
790
790
// Input: None
791
791
// Output: None
792
792
// Description: Connect to the mail host and receive the welcome message.
793
793
// Author/Date: jcar 20/9/96
794
794
// History:
795
- //********************************************************************/
795
+ //*********************************************************************
796
796
static int MailConnect ()
797
797
{
798
798
@@ -881,14 +881,14 @@ return 0;
881
881
}
882
882
883
883
884
- /*********************************************************************
884
+ // *********************************************************************
885
885
// Name: Post
886
886
// Input:
887
887
// Output:
888
888
// Description:
889
889
// Author/Date: jcar 20/9/96
890
890
// History:
891
- //********************************************************************/
891
+ //*********************************************************************
892
892
static int Post (LPCSTR msg )
893
893
{
894
894
int len = (int )strlen (msg );
@@ -912,7 +912,7 @@ static int Post(LPCSTR msg)
912
912
913
913
914
914
915
- /*********************************************************************
915
+ // *********************************************************************
916
916
// Name: Ack
917
917
// Input:
918
918
// Output:
@@ -921,7 +921,7 @@ static int Post(LPCSTR msg)
921
921
// last command was successful.
922
922
// Author/Date: jcar 20/9/96
923
923
// History:
924
- //********************************************************************/
924
+ //*********************************************************************
925
925
static int Ack (char * * server_response )
926
926
{
927
927
ZEND_TLS char buf [MAIL_BUFFER_SIZE ];
@@ -974,7 +974,7 @@ static int Ack(char **server_response)
974
974
}
975
975
976
976
977
- /*********************************************************************
977
+ // *********************************************************************
978
978
// Name: unsigned long GetAddr (LPSTR szHost)
979
979
// Input:
980
980
// Output:
@@ -985,7 +985,7 @@ static int Ack(char **server_response)
985
985
// WARNING: gethostbyname() is a blocking function
986
986
// Author/Date: jcar 20/9/96
987
987
// History:
988
- //********************************************************************/
988
+ //*********************************************************************
989
989
static unsigned long GetAddr (LPSTR szHost )
990
990
{
991
991
LPHOSTENT lpstHost ;
@@ -1052,7 +1052,7 @@ static char *get_angle_addr(char *address)
1052
1052
return estrndup (p1 , p2 - p1 );
1053
1053
}
1054
1054
1055
- /*********************************************************************
1055
+ // *********************************************************************
1056
1056
// Name: int FormatEmailAddress
1057
1057
// Input:
1058
1058
// Output:
@@ -1064,7 +1064,7 @@ static char *get_angle_addr(char *address)
1064
1064
//
1065
1065
// Author/Date: garretts 08/18/2009
1066
1066
// History:
1067
- //********************************************************************/
1067
+ //*********************************************************************
1068
1068
static int FormatEmailAddress (char * Buf , char * EmailAddress , char * FormatString ) {
1069
1069
char * tmpAddress ;
1070
1070
int result ;
0 commit comments