summaryrefslogtreecommitdiff
path: root/win32/sendmail.h
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-06-05 17:08:38 +0000
committerMarkus Fischer <mfischer@php.net>2002-06-05 17:08:38 +0000
commit6c6ac37be47146952212026974532adc6c6a504a (patch)
tree5c8cc499f6b8764ebf540ea7d69165cbd281529a /win32/sendmail.h
parent3fb8db4ca8456ecc21955d22c52909397341bc7e (diff)
downloadphp-git-6c6ac37be47146952212026974532adc6c6a504a.tar.gz
- Headers are now rewritten to always have \r\n line endings for SMTP.
Also automatically removes superflous line breaks at the start and end of the header. # http://cr.yp.to/docs/smtplf.html is a good read about this topic.
Diffstat (limited to 'win32/sendmail.h')
-rw-r--r--win32/sendmail.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/sendmail.h b/win32/sendmail.h
index 6da0cd9bc4..cf4f6af5b9 100644
--- a/win32/sendmail.h
+++ b/win32/sendmail.h
@@ -28,7 +28,8 @@
#define BAD_MSG_FILE 18
#define W32_SM_SENDMAIL_FROM_NOT_SET 19
#define W32_SM_SENDMAIL_FROM_MALFORMED 20
-#define MAX_ERROR_INDEX 21 /* Always last error message + 1 */
+#define W32_SM_PCRE_ERROR 21
+#define MAX_ERROR_INDEX 22 /* Always last error message + 1 */
int TSendMail(char *smtpaddr, int *returnerror, char **error_message,