Al enviar un correo electrónico utilizando Microsoft Outlook, deseo poder enviar un hipervínculo de ubicaciones de archivos y sitios web en el cuerpo del correo electrónico, el cuerpo en mi código es oMsg.Body . Cualquier ayuda sería muy apreciada.Microsoft Outlook agregar hipervínculo al correo electrónico C#
private void button13_Click(object sender, EventArgs e)
{
//Send Routing and Drawing to Dan
// Create the Outlook application by using inline initialization.
Outlook.Application oApp = new Outlook.Application();
//Create the new message by using the simplest approach.
Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem);
//Add a recipient
Outlook.Recipient oRecip = (Outlook.Recipient)oMsg.Recipients.Add("email-address here");
oRecip.Resolve();
//Set the basic properties.
oMsg.Subject = textBox1.Text + " Job Release";
oMsg.Body = textBox1.Text + " is ready for release attached is the Print and Routing";
//Send the message. 6
oMsg.Send();
//Explicitly release objects.
oRecip = null;
oMsg = null;
oApp = null;
MessageBox.Show("Print and Routing Sent");
}
"
"; "Web Site
"; aparece en el correo electrónico –trabajado perfecto Gracias –