Sending mail thr' SMTP server -not working
-
Hello Experts, I sending mail using smtp server...I am using smtpclient.Host="localhost" and smtpclient.port=25 , But gives authentication error ....Tel me how will i know my smtp server name or any common host and port also... and also give error -"Property 'To' is ReadOnly." for this line msg.to = txtTo.Text Help me!!
-
Hello Experts, I sending mail using smtp server...I am using smtpclient.Host="localhost" and smtpclient.port=25 , But gives authentication error ....Tel me how will i know my smtp server name or any common host and port also... and also give error -"Property 'To' is ReadOnly." for this line msg.to = txtTo.Text Help me!!
Have you worked through some of the many mail samples on the web ? Do you not have an email account ? Do you have an ISP ? Your SMTP details are the same as the details you put into outlook.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.