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
 br...@fastmailteam.com

Reply via email to