Is there a way to attach a document previously created by iText?
Currently I have a button that is "Generate offer", create the document by itext, and if you have an activated checkbox it asks if you want to send it by email and opens the mail app. The thing is to attach the document created by itext that you have created.
This is what I have:
if (check_enviaremail.Checked == true)
{
var result = MessageBox.Show("¿Quieres enviarla por email?", "Atreus - Informacion", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (result == DialogResult.Yes)
{
System.Diagnostics.Process.Start("mailto:" + tb_email.Text + "");
}
}