cvs: php4 /win32 imap_sendmail.c
| From: | Markus Fischer | Date: | Wed, 15 May 2002 13:13:17 +0000 |
| Subject: | cvs: php4 /win32 imap_sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11936@lists.php.net to get a copy of this message | ||
mfischer Wed May 15 09:13:17 2002 EDT
Modified files:
/php4/win32 imap_sendmail.c
Log:
- Accommodate API changes to Ack().
Index: php4/win32/imap_sendmail.c
diff -u php4/win32/imap_sendmail.c:1.3 php4/win32/imap_sendmail.c:1.4
--- php4/win32/imap_sendmail.c:1.3 Thu Feb 28 03:27:22 2002
+++ php4/win32/imap_sendmail.c Wed May 15 09:13:17 2002
@@ -15,7 +15,7 @@
| Authors: Frank M. Kromann <frank@kromann.info> |
+----------------------------------------------------------------------+
*/
-/* $Id: imap_sendmail.c,v 1.3 2002/02/28 08:27:22 sebastian Exp $ */
+/* $Id: imap_sendmail.c,v 1.4 2002/05/15 13:13:17 mfischer Exp $ */
#include "php.h" /*php specific */
#include <stdio.h>
@@ -140,13 +140,13 @@
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 @@
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 @@
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 @@
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 @@
if ((res = Post("DATA\r\n")) != SUCCESS)
return (res);
- if ((res = Ack()) != SUCCESS)
+ if ((res = Ack(NULL)) != SUCCESS)
return (res);
@@ -249,7 +249,7 @@
/*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);