Hey guys, thanks for the tips. I found it now.
**EDIT**
I just wanted to ask a follow up question.
1. ASP.NET and mySQL needs OdbcConnector for the web application to connect to the database. Is there an OdbcConnector on the server? If there is, what is the version?
I use odbc connector 3.51.27 that's why I'm thinking if ever, version will make them incompatible.
2. I wanted to make a site that sends emails to my friends. I've read about several tutorials and tried on my own but none of them works for me. I saw that we, members, have our own mailing system (or whatsoever it is called). How can I utilize that into my ASP.NET 3.5 web application?
**EDIT**
I think I'm going to use one of these mail servers:
Outgoing Mail Server: mail.nyakerz.x10hosting.com (server requires authentication) port 25
Outgoing Mail Server: (SSL) stoli.x10hosting.com (server requires authentication) port 465
Most likely the one with the port 25.
I found a tutorial in the internet about sending email with ASP.NET
Here is the code:
web.config:
<system.net>
<mailSettings>
<smtp from="test@foo.com">
<network host="mail.nyakerz.x10hosting.com" port="25" userName="username" password="password" defaultCredentials="true" />
</smtp>
</mailSettings>
</system.net>
Main code:
Try
Dim message As MailMessage = New MailMessage
message.From = New MailAddress("geng@nyakerz.x10hosting.com")
message.To.Add(New MailAddress(txtEmail.Text))
message.Subject = "Nyakerz"
message.Body = "Nyakerz"
Dim client As SmtpClient = New SmtpClient
client.Send(message)
Catch ex As Exception
MsgBox("Sending Failed " & ex.Message)
End Try
Error:
Sending Failed Failure sending mail.