Sending emails from your website is a very common requirement in most websites. Someone signs up to your newsletter, someone joins your membership scheme etc.. There are several way to send emails within Sitecore and this tutorial will guide you how to configure them.
<setting name="MailServer" value="localhost" />
<!-- MAIL SERVER USER
If the SMTP server requires login, enter the user name in this setting
<setting name="MailSearverUserName" value="" />
<!-- MAIL SERVER PASSWORD
If the SMTP server requires login, enter the password in this setting
<setting name="MailServerPassword" value="" />
<!-- MAIL SERVER PORT
If the SMTP server requires a custom port number, enter the value in this setting.
The default value is: 25
<setting name="MailServerPort" value="25" />
<network enableSsl="true" />
var emailMessage = new MailMessage("[email protected][email protected]
Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge