PCSchool allows email to be sent via SMTP servers. The mail server settings for Back Office are within the pcschool.ws file on each client, so in effect, each client could have its own unique settings. By default, the pcschool.ws file has the following Keys.
EmailServer= (add in the servers IP address or domain name)
Email= (The email address to use if a Back Office user is used to log in as opposed to an Identity user)
EmailFromName= (A user friendly name belonging to the above email address)
EmailMode=SMTP (It should ALWAYS be SMTP now, MAPI is no longer supported)
EmailPort= (The port the email server is configure to send mail through)
If you are using a secure mail port (GMail, Office365), then the following keys also need adding.
ESMTPAuthMode= (ON if secure connection required)
ESMTPAccount= (Authorizing email account for relaying through secure mail server)
ESMTPPassword= (Password for above account)
The password for ESMTPPassword= is entered in plain text so that it can be readily seen. When Back Office first runs, it encrypts it, then appends [E!] to it so it does not re-encrypt it. It will only be visible in plain text until the first run of Back Office.
If using Office 365, you MUST install the PCSQ to email with. This applies to any mail service requiring mail to be sent through port 587. For further information, File Download
If using Gmail, the authenticating account must allow less secure apps.
Below are some sample settings
Standard unsecured mail relaying through ISP, Exchange…)
Emailing through GMail (PCSQ highly recommended)
Emailing through Office365 (PCSQ REQUIRED)
*** It is possible to configure through Port 25 but this must be allowed by Office 365 configuration
From within PCSchool Back Office, these setting can be seen. If they are changed within Back Office, they will revert to their original settings next restart. To make permanent changes, edit the pcschool.ws file.
Email Settings Within Spider
Spider has a single set of settings within the web.config file. This is located in the root of where PCSchool is installed. The settings are very similar to the above but apply to all Spider users. If the SMTP_MODE is set to TEST, all emails will be received by the SMTP_TEST_EMAIL account, rather than the original recipient.
<add key=”SMTP_SERVER” value=”mail.school.net” />
<add key=”SMTP_FROM_EMAIL” value=”firstname.lastname@example.org” />
<add key=”SMTP_PORT” value=”587″ />
<add key=”SMTP_AUTH_USER” value=”email@example.com” />
<add key=”SMTP_AUTH_PASSWORD” value=”authpassword” />
<add key=”SMTP_MODE” value=”LIVE” />
<add key=”SMTP_TEST_EMAIL” value=”firstname.lastname@example.org” />
<add key=”SMTP_USE_SSL” value=”TRUE” />