I got it working BUT......
In my code I don't specify smtp server at all.
So I don't know which server its using behind the scene.
How can I find out and where this configuration is?
Is this a CDO configuration?
I could not find anything in the registry.
The smtp server has been changed so i am tryin to figure out where I need to change it - nothing in my web.config and I don't even specify smtp server :-(
Many thanks!
using System.Web.Mail ;
MailMessage msgMail = new MailMessage();
msgMail.To = toperson;
msgMail.From = fromperson;
msgMail.Subject = emailsubject;
msgMail.BodyFor mat = MailFormat.Html ;
msgMail.Body = emailbody;
SmtpMail.Send(m sgMail);
In my code I don't specify smtp server at all.
So I don't know which server its using behind the scene.
How can I find out and where this configuration is?
Is this a CDO configuration?
I could not find anything in the registry.
The smtp server has been changed so i am tryin to figure out where I need to change it - nothing in my web.config and I don't even specify smtp server :-(
Many thanks!
using System.Web.Mail ;
MailMessage msgMail = new MailMessage();
msgMail.To = toperson;
msgMail.From = fromperson;
msgMail.Subject = emailsubject;
msgMail.BodyFor mat = MailFormat.Html ;
msgMail.Body = emailbody;
SmtpMail.Send(m sgMail);
Comment