Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

sending email to my account

Avatar of tentavarious
tentavarious asked on
Lotus IBM
50 Comments1 Solution1417 ViewsLast Modified:
i set up an email me form.  the form contains a textbox and when text is typed in and a button clicked i would like for the message to get sent to my business email.  The problem is when i click the button it says the message is sent but when i check my email using lotus notes the message is not there.  could someone explain why this is happening?  if i email to my hotmail account it works.  My code is below.

 Private Sub btnemail_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnemail.Click
        oMail = New MailMessage
        oMail.From = "Bobcat_Employee"
        oMail.To = "Shaun_Barth@bobcat.com"
        oMail.Subject = "Comments and Ideas"
        oMail.Body = txtEmail.Text
        SmtpMail.SmtpServer = ""  ' put here server IP address
        If txtEmail.Text.Length = 0 Then
            Me.RegisterStartupScript("Email", _
            "<script language='javascript'>alert('Enter Email text');</script>")
            Me.RegisterStartupScript("Email", _
            "<script language='javascript'>alert('Email was sent');</script>")
            txtEmail.Text = ""
        End If

    End Sub
End Class
Avatar of Stan Reeser
Stan ReeserFlag of United States of America imageTechnology Strategist

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 50 Comments.
See Answers