summaryrefslogtreecommitdiff
path: root/common/smtppass.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/smtppass.h')
-rw-r--r--common/smtppass.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/smtppass.h b/common/smtppass.h
index 7f1892e..a54c9b0 100644
--- a/common/smtppass.h
+++ b/common/smtppass.h
@@ -232,6 +232,13 @@ int sp_done_data(spctx_t* ctx, const char *header);
int sp_fail_data(spctx_t* ctx, const char* smtp_status);
/*
+ * Helper method to pass through the entire DATA part of
+ * the email to the server. No processing is done, and no
+ * other sp_xxxx_data() calls are necessary.
+ */
+int sp_pass_data(spctx_t* ctx);
+
+/*
* Setup the environment with context info. This is useful
* if you're going to fork another process. Be sure to exec
* soon after to prevent the strings from going out of scope.