Archived Forum Post

Index of archived forum posts

Question:

Sign Email without Sending?

Dec 17 '15 at 06:34

I need to sign Chilkat Email. Normally, chilkat signing mail works with the method of mailman.SendEmail(email);. What I want is that signing mail before send and save as eml file. Is there any way to signing mail different from SendMail method?


Answer

Yes, the MailMan.RenderToMime method can be called to sign and/or encrypt the email and return the resultant MIME string. The MIME could subsequently be sent by calling MailMan.SendMime. The SendMail method is logically the equivalent of passing the result of RenderToMime to SendMime.