Added: 06/08/2016   |   Updated: 9 Years Ago
    Question   How do I manually create an email account in the mysql database?
    
    Answer   
Inside the client admin there is a way to easily add email accounts for a site and you do not need this guide.
NOTE: This guide is intended for developers working on systems that have a dedicated server.
Every server has a database titled: wmtserver
Inside of this database there is a table titled: emailaccounts
You can manually create email accounts by inserting them into the emailaccounts table.
Below is an explination of each column in the emailaccounts table:email: The email address.  Do not include @domainname.com.  So for example if you are making an email 
myemail@mydomain.com then you should enter myemail into this field.
password: The password (without any encoding, salt, etc) of the email account.
siteid: This is the id of the site (domain) that the email belongs to.  You can get the siteid of a site by going into webmarketingtool.com and going to the page for the site and the page URL is site.php?id=# where # is the siteid for that site.
forwarding: If you want the email to forward to another email, enter the email address that it should forward to.  Otherwise leave this field blank.