

- #HOW TO LOAD SAVE IN CIV 6 WORLD BUILDER UPDATE#
- #HOW TO LOAD SAVE IN CIV 6 WORLD BUILDER CODE#
- #HOW TO LOAD SAVE IN CIV 6 WORLD BUILDER WINDOWS#
#HOW TO LOAD SAVE IN CIV 6 WORLD BUILDER CODE#


This class corresponds to the mailSettings Element (Network Settings) configuration element, is used to access information about SMTP settings for the local computer and provides programmatic access to information that can be stored in configuration files.

Add the following code to the MaillsettingsForm Load event to load the mail settings at the form startup:.
#HOW TO LOAD SAVE IN CIV 6 WORLD BUILDER UPDATE#
The namespace contains classes that applications use to programmatically access and update configuration settings for the System.Net namespaces.The System.Configuration namespace contains the types that provide the programming model for handling configuration data.The System.Reflection namespace contains types that retrieve information about assemblies, modules, members, parameters, and other entities in managed code by examining their metadata.Import the System.Reflection, System.Configuration and namespaces using the following statement:.Add a CheckBox to the MailSettingsForm and rename it to DefaultCredentialsCheckBox.Add another TextBox to the MailSettingsForm and rename it to PasswordTextBox and set the PasswordChar property to *.Add another TextBox to the MailSettingsForm and rename it to UserNameTextBox.Add another TextBox to the MailSettingsForm and rename it to PortTextBox.Add another TextBox to the MailSettingsForm and rename it to HostTextBox.Add a TextBox to the MailSettingsForm and rename it to FromTextBox.Add another Label to the MailSettingsForm and rename it to PasswordLabel.Add another Label to the MailSettingsForm and rename it to UserNameLabel.Add another Label to the MailSettingsForm and rename it to HostLabel.Add a Label to the MailSettingsForm and rename it to FromLabel.
#HOW TO LOAD SAVE IN CIV 6 WORLD BUILDER WINDOWS#
Create a new windows application using Visual Studio 2005/2008.To make your application send emails to customers, follow these steps: In this article we will make an application that can be used to load and save mail settings. As discussed in the previous article How to: Send an email Message using SMTP and C#, we save these settings in the mailSettings section under the configuration section. You need to let the customers of your application to set the e-mail server that the application uses to send such e-mail notifications. Sometimes your application wants to send e-mail notifications to customers.
