summaryrefslogtreecommitdiff
path: root/win32/sendmail.h
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-05-14 20:40:39 +0000
committerMarkus Fischer <mfischer@php.net>2002-05-14 20:40:39 +0000
commit7a0866ff9080fa89cb0dc33aa5a6fdea7df89c33 (patch)
tree62ec744d6e25132a3d2248b726b5fb7870b03fba /win32/sendmail.h
parentd9f4162ab9d4a946eaea6076e915ccb4df816445 (diff)
downloadphp-git-7a0866ff9080fa89cb0dc33aa5a6fdea7df89c33.tar.gz
- Improve code so errors returned from the server are reported back to the user.
# Testers, testers, testers!
Diffstat (limited to 'win32/sendmail.h')
-rw-r--r--win32/sendmail.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/sendmail.h b/win32/sendmail.h
index 82155b41d0..dcead800cd 100644
--- a/win32/sendmail.h
+++ b/win32/sendmail.h
@@ -31,16 +31,16 @@
#define MAX_ERROR_INDEX 21 /* Always last error message + 1 */
-int TSendMail(char *smtpaddr, int *returnerror,
+int TSendMail(char *smtpaddr, int *returnerror, char **error_message,
char *RPath, char *Subject, char *mailTo, char *data);
void TSMClose(void);
-int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers);
+int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers, char **error_message);
char *GetSMErrorText(int index);
int MailConnect();
int PostHeader(char *, char *, char *, char *, char *);
int Post(LPCSTR);
-int Ack();
+int Ack(char **server_response);
unsigned long GetAddr(LPSTR szHost);