hi I'm trying to use this code that i found to send an email message using c# application.
i have an iis service running on my computer and the smtp server is configured as my providers smtp server.
the problem is that when i try to send mail i get an error message:
"the specified string is not in the form required for an e-mail address"
i swear to god that i insert a valid mail address.
the mails are not local.
i guess i tried many options and i dont know which one one is right.
i tried to configure the iis smtp server to my isp and i entered my password, when i tried to send it showed an error that access was denied.
i tried to reset all settings and defined the relay on 127.0.0.1 (local host). nothing seems to work.
is there any way to send emails with the iis default smtp server ?
Look I've experience about that, I never ever use SMTP to send emails because I am sure the destination would be the JUNK! I use CDO (Microsoft CDO for Windows 2000 library) instead.
the mails are not local.
i guess i tried many options and i dont know which one one is right.
i tried to configure the iis smtp server to my isp and i entered my password, when i tried to send it showed an error that access was denied.
i tried to reset all settings and defined the relay on 127.0.0.1 (local host). nothing seems to work.
is there any way to send emails with the iis default smtp server ?
Then it sounds quite simply as the servers not prepared to hand it on because neither the sender or receiver are domains it controls and its not an open realy.
Which is normal. Most servers these days are configured that way to reduce spam.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.