Imports System.Reflection Imports Outlook = Microsoft.Office.Interop.Outlook Public Class Test ' Crée une application Outlook Dim oApp As Outlook.Application = New Outlook.Application() ' Create a new mail. Dim oAppt As Outlook.MailItem = oApp.CreateItem(Outlook.OlItemType.olMailItem) oAppt.To = Adresse mail oAppt.CC = "" oAppt.Subject = "OBJET" oAppt.Body = "Corps de ton texte a envoiyer" oAppt.Send()
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question