You can clone with
HTTPS or Subversion.
we are using erlang to send mail found this gen_smtp very usefully can anyone give me code snippet for sending attachment.
thanks in anticipation
You can see a simple example for multipart/alternative in the tests, for example here:
You can just use binary data for the attachment body and gen_smtp will encode it and add the right headers for you.