WATCH THIS EXAMPLE ON YOUTUBE:
The type or namespace name 'MailMessage' could not be found (are you missing a using directive or an assembly reference?)
Replace
MailMessage message = new MailMessage();
with
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();
No comments:
Post a Comment