how to use Load method to open a created Mail EWS c#

  • Thread starter Thread starter Carlo Goretti
  • Start date Start date
C

Carlo Goretti

Guest
Hey!

Im making a program that are creating emails and i want to make so the email opens (load) but cant get it to work..
Any ideas how i can make it work?
Here is my code so far:

mejlÄmne = "Skarp uppgradering av PM " + KundNamn + " klar!";
mejltext = "Hej," +
"<br><br>" +
"Nu är skarp uppgradering av er skarpa PM installation klar. " +
"<br>" +
"Om ni har några frågor eller stöter på några problem så får ni gärna återkomma." +
"<br><br>" +
"Med Vänliga Hälsningar" +

"<br><br>";

EmailMessage email = new EmailMessage(service);
email.ToRecipients.Add(emailTillKund);
email.CcRecipients.Add(CopyTo);
email.Subject = "Skarp uppgradering av PM " + KundNamn + " klar!";
email.Body = new MessageBody(mejltext);
email.Save();
email.Load();

Continue reading...
 

Similar threads

C
Replies
0
Views
60
Carlo Goretti
C
C
Replies
0
Views
111
Carlo Goretti
C
Back
Top