Thank's for your effort to help
I tested the code with iis 5.1 and smtp virtual server to be sure that everything is working.
The result:
The code seems to be ok , but when i want to send the message with that smtp server the message stay in queue folder never leaving out .
I'm not sure that the settings in that server are corect.
What i did is:
I was the anonymous user who submited email address on that html page with one correct one like (
blabla@blablabla.com - that is my valid address on remote isp on internet, and i'm not connected to internet through them while
testing this stuff)
At the end the thank you messagge as i said never leaved out the queue folder and never come to my
blabla@blablabla.com address.
So what the hell is the problem.
I suppose the settings are not corect in smtp server, if you could please help me anyway i would be very grateful.
Thank's again