Email Problem

Results 1 to 2 of 2

Thread: Email Problem

  1. #1
    Join Date
    Dec 1969

    Default Email Problem

    I am sending emails via a web page using<BR><BR>smpt.send et etc.<BR><BR>This worked fine for a while...but now I have no emails coming through.<BR><BR>I contacted thre ISP and they are baffled at why no emails are they did two weeks ago.<BR><BR>here is the code i am using<BR><BR> objConnection.Open();<BR> <BR> objDataReader = objCommand.ExecuteReader();<BR> <BR> while (objDataReader.Read() == true)<BR> {<BR> //<BR> // if(objDataReader["client_email"]!=null) <BR> // {<BR> strEmail +=objDataReader["client_email"];<BR> strResultsHolder +="Username: ";<BR> strResultsHolder +=objDataReader["client_username"];<BR> strResultsHolder +=" ";<BR> strResultsHolder +="Password: ";<BR> strResultsHolder +=objDataReader["client_password"];<BR> <BR> <BR> <BR> <BR> string strTo = strEmail;<BR> string strFrom = "";<BR> string strSubject = "Login Details"; <BR> <BR> SmtpMail.Send(strFrom, strTo, strSubject, strResultsHolder);<BR> response.Text = "Your email holds your detials";<BR> Response.Write(strEmail);<BR> <BR> <BR> <BR> }<BR> objDataReader.Close();<BR> objConnection.Close();<BR>}<BR><BR>I get no error message at all, so it just says you r email holds you details.. and goes past the send bit which I assume should send.<BR><BR>Is there a way I can get an error to appear.. or any questions i can ask my ISP as they aren&#039;t sure where to look??<BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Email Problem

    Hi read my thread below. I am trying to do the same thing but am having problems. What are you using for your SMTPMail.SmtpServer ?????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts