diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-06-26 12:55:51 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-06-26 12:55:51 -0600 |
commit | a4596ef9de75a309535e00c1da775c9b39dc3769 (patch) | |
tree | 8d44535e64ee5b803e97292e851d752f57ae6d28 /pith | |
parent | d3e6f3932f2af9deca8eed09e30a55e9bd524362 (diff) | |
download | alpine-a4596ef9de75a309535e00c1da775c9b39dc3769.tar.xz |
* Many mail programs might include attachments in an alternative html
part. In this case, these attachments are not included in a reply,
even if the option "Include Attachments in Reply" is enabled. We
include these attachments in a reply too in this case (experimental.)
Diffstat (limited to 'pith')
-rw-r--r-- | pith/pine.hlp | 2 | ||||
-rw-r--r-- | pith/reply.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp index a8cdb89a..87ac8032 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -2011,7 +2011,7 @@ on Alpine configuration.<P> <LI> The main site for Alpine contains information on configuring and solving problems with Alpine, it can be found at -<CENTER><A HREF="http://alpine.freeiz.com/alpine/">http://alpine.freeiz.com/alpine/</A></CENTER> +<CENTER><A HREF="http://alpine.x10host.com/alpine/">http://alpine.x10host.com/alpine/</A></CENTER> --> <LI> The Alpine Information Center (maintained by the University of Washington) World Wide Web site contains, among other things diff --git a/pith/reply.c b/pith/reply.c index 398ee63d..dbeccc20 100644 --- a/pith/reply.c +++ b/pith/reply.c @@ -1081,6 +1081,16 @@ reply_body(MAILSTREAM *stream, ENVELOPE *env, struct mail_bodystruct *orig_body, plustext, role, 0, redraft_pos); } else if(orig_body->subtype + && !strucmp(orig_body->subtype, "alternative") + && orig_body->nested.part + && orig_body->nested.part->next->body.type == TYPEMULTIPART + && orig_body->nested.part->next->body.subtype + && !strucmp(orig_body->nested.part->next->body.subtype, "MIXED")) + body = reply_body(stream, env, + &orig_body->nested.part->next->body, + msgno, "2", msgtext, prefix, + plustext, role, 0, redraft_pos); + else if(orig_body->subtype && !strucmp(orig_body->subtype, "alternative")){ /* Set up the simple text reply */ body = mail_newbody(); |