Hey everyone. I created a page for sending of emails in asp.net using language vb. It seems to be error free. The page/program can be run. But when i clicked the send email button. It directs me to my vb codings page. with smtp.send(msg) highlighted in green. Then it shows the following error msg. SmtpException was unhandled by user code
Transaction failed. The server response was: <unknown[172.26.128.132]>:Client host rejected:Access denied
Anyone can help me please? It's very very urgent for me.
A million thanks. =)
smtp.Credentials=new System.Net.NetworkCredential("Your mail Username", "Your mail password");
Do you have the above line somewhere in your code?