Creating a DB Mail List in SP-C or SQL Server
Document ID: 10192
Synopsis
The information below shows how to create a Database Mailing list for MailSite using SQL Server to hold the data for the Mailing list. The example shows how to create a Database mail list
More Information
Creating a DB Mail List in SP-C or SQL Server
The information below shows how to create a Database Mailing list for MailSite using SQL Server to hold the data for the Mailing list.
The example shows how to create a Database mail list for the default domain and virtual domains.
- Create a New Database within the SQL Server Enterprise Manager. (example MailList)
- Create a new table.
- Add EmailAddress as a Primary Key and with a 'length' value of around 40, do not allow nulls.
- Add 'FullName' as the next 'Column Name' with 'length' value set to 50.
- Close and save the table with the same name as the mail list that you will have in MailSite (Example testing01)
- Open the Table and return all rows. Add the entry Testing@test.com as a test account, Close the the table.
- Open ODBC Data Source manager.
- Select System DSN. Click Add Select SQL Server and press 'Finish'.
- The Name is 'Default', Description is whatever you want, Select the SQL Server the Database resides. Click 'Next'
- Select you authentication that you have set for the SQL server. If you have only set SQL Server Authentication make sure you put the user name and password in. Click on 'Client Configuration' Make sure it is set to 'TCP', Click 'Ok' then 'Next.
- Select the database that you have used i.e. MailList. Click 'Next'. Then 'Finished'.
- Click 'Test Data Source' then Click 'Ok', Click 'Ok' again. Then Click 'Ok' to close the ODBC Data Source Manager.
- Open MailSite.
- Go to the Default domain and select Mail Lists.
- Add a new Database List Calling it the 'testin01'. Open the Mail List.
- Set the 'General' Settings first. Then Select Database.
- Enter 'Default' for the 'Data Source Name'. Enter the User name and password, Click 'Apply'. Then Select the 'Members' Tab and you will see the entry Testing@test.com as the first user.
To Create a Database Mailing List for a virtual Domain
- Change the above step 5 to the Database Mailing list that you are going to be using.
- Change Step 9's name to the virtual domains name (example test.com)
- Change Step 14 the the DSN entry for that virtual Domain.