Posted on: 5/9/2014 10:29:01 PM | Views : 382

I have the following web.config mail setting
<mailSettings> <smtp> <network host ="mol.gov.iq" port ="25" userName="murasalat" password ="murasalatpasscode" defaultCredentials ="false" /> </smtp> </mailSettings>
The code by which I want to send the email programmatically is:
Dim MyMailSubject As String Dim MyMailBody As String Dim MyRecipientMail As String Dim MyMailMessage As New MailMessage MyMailSubject = "???? ???? ?? ?????? ???????" MyMailBody = "????? ????????????? ????? ????? ???? ???? ?? ?????? ??????? ???? ???????" MyMailBody = MyMailBody & Trim(UserNameTxtBox.Text) & " ??? ????????" MyMailBody = MyMailBody & Trim(PassCodeTxtBox.Text) & " ???? ??????" MyRecipientMail = T ...

Go to the complete details ...