I have managed to create simple app that will send e-mail with specific text, but I am wondering that is this possible to send the same e-mail, but with content of text being copied into clipboard?
In my oMail.TextBody
I would like to paste content of clipboard and e-mail it.
static void Main(string[] server)
{
SmtpMail oMail = new SmtpMail("TryIt");
EASendMail.SmtpClient oSmtp = new EASendMail.SmtpClient();
// Set sender email address
oMail.From = "myEmail";
// Set recipient email address
oMail.To = "myEmail";
// Set email subject
oMail.Subject = "test email from c# project";
// Set email body
oMail.TextBody = "Clipboard content pasted here..."
}
Is there any way to do it? Additionally I am using EASendMail
namespace.