The SMTP host was not specified.
-
Hello friends, I am using built in controls for membership. I got this error when I run the code for passwordrecovery.. what could be the cause and the possible solution? error is The SMTP host was not specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The SMTP host was not specified.
Amit
-
Hello friends, I am using built in controls for membership. I got this error when I run the code for passwordrecovery.. what could be the cause and the possible solution? error is The SMTP host was not specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The SMTP host was not specified.
Amit
The cause is that you didn't specify an SMTP host, and so an email can't be sent. Specify a valid SMTP host.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
The cause is that you didn't specify an SMTP host, and so an email can't be sent. Specify a valid SMTP host.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Thanks, I mention the smtp host name. The error is changed now to " Mailbox unavailable. The server response was: 5.7.1 Unable to relay for iamdking@rediffmail.com" where iamdking@rediffmail.com is the mail address of the recipient... What could be the solution for this? Thanks in advance,
Amit