You can use below mentioned code to send email using vb.net for the website hosted on GoDaddy.com
This code will only work when run on the godaddy.com server.
Public Shared Function SendEmail(ByVal ToAddress As String, ByVal Subject As String, ByVal Body As String, ByVal IsHtml As Boolean) As Boolean
Dim smtpClient As New SmtpClient
Dim SERVER As String = "relay-hosting.secureserver.net"
Dim _MailMessage As MailMessage = New MailMessage()
_MailMessage.From = New MailAddress("[email protected]")
_MailMessage.Subject = Subject
_MailMessage.IsBodyHtml = True
_MailMessage.Priority = MailPriority.High
_MailMessage.Body = Body
smtpClient.Host = SERVER
smtpClient = Nothing
_MailMessage = Nothing
Catch ex As Exception
1. Total = Net Price + (Net Price x Tax Rate)
When you know the Net Price and Tax Rate, you can use above formula to calculate the final amount to charge. Your net price should be after deducting any discounts.
2. Tax Rate = (Total ÷ Net Price) -1
Use above formula if you want to know the tax rate. Some times you know the total amount and net price but don't know the tax rate.
3. Net Price = Total ÷ (Tax Rate + 1)
Use above formula when you want to know the Net Price.
4. Tax Amount = Total - (Total ÷ (Tax Rate + 1))
And if you have Total amount and tax rate and want to know about the tax amount then use above formula.