Hey digimanus,
Sorry for bothering you on this. It was my mistake I had given passwd wrong.
I think we dont need SMTP/IIS windows feature installed to work this.
I got it working without SMTP installed.
'ABC@companyAAA.com > My email ID
'XYZ@(companyAAA.com > recepient)
'secure.webemail.com > Incoming Mail server/Outgoing Mail server as configured in outlook.
Dim emailMsg As New MailMessage("ABC@companyAAA.com", "XYZ@companyAAA.com", "Subject", "Body")
Dim smtpclnt As New SmtpClient("secure.webemail.com", 25)
smtpclnt.Credentials = New Net.NetworkCredential("ABC@companyAAA.com", "123456")
smtpclnt.EnableSsl = True
Try
smtpclnt.Send(emailMsg)
Catch ex As SmtpException
MessageBox.Show(ex.ToString)
Exit Sub
End Try
MessageBox.Show("Email sent succesfully")
Thank you for your conern.