I have a scenario here.
I am planning to use CreateUserWizard control in Asp.Net, which could send an email, if the credentials are provided.
As per my knowledge,
we can send this email by providing required credentials and the SMTP server details and that is it. The link in the email will bring back client to one of confirm Registration pages with a unique Id as query string. (as we add the link in email)
My question is, can we do this verification, by sending email as above without having some Emailing Component implemented or I am missing something.
NOTE: using SqlServer 2005, C#
Thanks
You might find this page
a good tutorial on verifying users by sending them an email. As Mitchel said, you will need an SMTP server (either your own, or from a provider). You can get details of any free providers off a search. Quick details for
Gmail:
Host = "smtp.gmail.com"
Port = 587
Hotmail:
Host = "smtp.live.com"
Port = 587
You can configure your SMTP details in your web.config file like so (below uses the hotmail SMTP server):
<system.net>
<mailSettings>
<smtp from="[email protected]">
<network host="smtp.live.com" port="587" userName="[email protected]" password="mypassword"/>
</smtp>
</mailSettings>
</system.net>
If you decide to use a free SMTP server like above, then make sure you follow their rules and stay within their usage limits.