Generating MIME boundaries within cyrus
Bron Gondwana
brong at fastmailteam.com
Fri Jan 25 20:29:05 EST 2019
Yes, a general "create mine boundary" function could be written. I guess nobody figured it was worth the effort yet.
Bron.
On Sat, Jan 26, 2019, at 00:33, Дилян Палаузов wrote:
> Hello,
>
> sending a MIME message implies generating multipart boundary (random) string. Cyrus does this in:
>
> imap/cyrdump.c:g
> enerate_boundary()
> imap/httpd.c:write_multipart_body()
> imap/http_caldav_sched.c:imip_send_sendmail()
> imap/jmap_mail.c:_mime
> _make_boundary()
> imap/lmtp_siele.c:send_rejection()
>
> Isn’t it feasible to avoid on this occassion code duplication?
>
> Regards
>
> Дилян
>
>
--
Bron Gondwana, CEO, FastMail Pty Ltd
brong at fastmailteam.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20190125/d8485d13/attachment.html>
More information about the Cyrus-devel
mailing list