Create Email Log File to trace all SMTP mail messages for error tracking

22/2/2012  Requires Scholastic Ver 2011.2.0.502

PCSchool have introduced the facility for IT staff to setup a generic network EMail Trace file to monitor messages between PCSchool and your SMTP server.

You need to create a folder to hold the log files. This folder needs to be accessible to all users with rights to create files in this folder.  The folder name is entered into the preferences.ini file located in the pcschool data folder. Make a backup of this folder before editing. Edit only as shown below:

Adding File Location to Preferences.ini

Add a custom form

As an email is sent the system will automatically create a log entry in the designated file. A new file will be created each day and will carry the date stamp as part of the file name.

Finding the Log File

The contents of the log show all communications between PCSchool and the SMTP server.

Sample File Contents

02/21/12 12:09:41 Opening Socket.
Performing DNS lookup: smtp.gmail.com
Connecting to: 74.125.53.108
220 mx.google.com ESMTP h6sm26249715pbg.5
EHLO pcschool.net
250-mx.google.com at your service, [124.177.121.175]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH
250 ENHANCEDSTATUSCODES
AUTH LOGIN
334 VXNlcm5hbWU6
pcschool@gmail.com
cm9iaW5wY3NjaG9vbEBnbWFpbC5jb20=
334 UGFzc3dvcmQ6
Sending Encoded Password…
235 2.7.0 Accepted
MAIL FROM:<bren@pcschool.net> AUTH=bren@pcschool.net
250 2.1.0 OK h6sm26249715pbg.5
RCPT TO:<dennis@gmail.com>
250 2.1.5 OK h6sm26249715pbg.5
DATA
354 Go ahead h6sm26249715pbg.5
382-22012222121016145@pcschool.netFrom: “Brendan” <bren@pcschool.net>
To: “Dennis” <dennis@gmail.com>
Subject: test
Sending Message Body.
250 2.0.0 OK 1329790215 h6sm26249715pbg.5
QUIT
221 2.0.0 closing connection h6sm26249715pbg.5

Advertisements

About studentmanagementsoftware

Director Student Management School Software PCSchool
This entry was posted in Communication, Email, Emerge and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s