If I understand correctly, I would do it like this:
static void Main(string[] args)
{
SmtpClient smtp = new SmtpClient(_strSomeSmtpAddress);
MailMessage msg = new MailMessage("SantaKlaus@gmail.com", "LittleKid@SomeCountry.com")
{
Subject = "Your Christmas Wish",
Body = "1. SSP Racer Car with T-Stick",
ReplyTo = new MailAddress("MomOfLittleKid@SomeCountry.com", "Santa Klaus")
};
smtp.Send(msg);
}
...using an Exchange Server, this does not give any warnings or notices.
thines01
Postaholic
2,433 posts since Oct 2009
Reputation Points: 447
Solved Threads: 408
Skill Endorsements: 7