summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-05-15 13:13:17 +0000
committerMarkus Fischer <mfischer@php.net>2002-05-15 13:13:17 +0000
commit97cbaafeadd9f6fb09ed7a79ad0b1ac9f0628ee2 (patch)
treec8d60c9d4cbb17a188629d1b6c83975ecbff0fe6 /win32
parent20226f71fca8d15854e4c90d89547a92b34e829d (diff)
downloadphp-git-97cbaafeadd9f6fb09ed7a79ad0b1ac9f0628ee2.tar.gz
- Accommodate API changes to Ack().
Diffstat (limited to 'win32')
-rw-r--r--win32/imap_sendmail.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/win32/imap_sendmail.c b/win32/imap_sendmail.c
index 60647be3d9..c7fc65a074 100644
--- a/win32/imap_sendmail.c
+++ b/win32/imap_sendmail.c
@@ -140,13 +140,13 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he
if ((res = Post(Buffer)) != SUCCESS)
return (res);
}
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
sprintf(Buffer, "MAIL FROM:<%s>\r\n", RPath);
if ((res = Post(Buffer)) != SUCCESS)
return (res);
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
// Send mail to all rcpt's
@@ -160,7 +160,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he
sprintf(Buffer, "RCPT TO:<%s@%s>\r\n", addr->mailbox, addr->host);
if ((res = Post(Buffer)) != SUCCESS)
return (res);
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
}
addr = addr->next;
@@ -179,7 +179,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he
sprintf(Buffer, "RCPT TO:<%s@%s>\r\n", addr->mailbox, addr->host);
if ((res = Post(Buffer)) != SUCCESS)
return (res);
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
}
addr = addr->next;
@@ -198,7 +198,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he
sprintf(Buffer, "RCPT TO:<%s@%s>\r\n", addr->mailbox, addr->host);
if ((res = Post(Buffer)) != SUCCESS)
return (res);
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
}
addr = addr->next;
@@ -208,7 +208,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he
if ((res = Post("DATA\r\n")) != SUCCESS)
return (res);
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
@@ -249,7 +249,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he
/*send termination dot */
if ((res = Post("\r\n.\r\n")) != SUCCESS)
return (res);
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
return (SUCCESS);