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
 
Дилян

Reply via email to