sam

sam

  • NA
  • 5
  • 3.7k

Having a issue with smtp client exception message in sms2cell app

Jun 7 2012 10:55 PM
Hi guys Im new to the forum and C# and the world of programming :) , 

I came across this the tutorial: (C# SMS App which can be found here: http://www.c-sharpcorner.com/uploadfile/scottlysle/textmsgtocellphone12112006002339am/textmsgtocellphone.aspx )

I found it really fun to do so I started cracking at the code. When I downloaded the zip file, opened it and filled in the correct info to test send a SMS I got this issue which I have been trying left and right to solve...so far what Im guessing is that the program doesnt have a smtp server to bounce off of and it is currently using (or trying to) my machine to send the sms. I have tried defining a smtp server and also including a login credential statement to be true and even changed the port but still no help and get the same exception message: 

http://i.imgur.com/ZBUhk.png

a
ny help would be greatly appreciated thank you all. 


I have attached the source code file for the main and the only code I have adjusted is for the btnSend click event 

Answers (3)