Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
11 lines (11 loc) · 922 Bytes

File metadata and controls

11 lines (11 loc) · 922 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
$Path = '..\..\data\logs\' #Server directory up to the year folder, this can be a relative or absolute path; remember the trailing \
$StringToMatch = 'SQL:'
$From = 'admin@server.com'
[string[]]$To = 'email@address.com', 'a_different@address.org' #Email will be sent to each address listed here, you can have as many as you want
$Subject = 'SS13 server SQL error'
$Body = 'A SQL error was found in the following files:' #This parameter is optional, set it as '' if you want it gone
#SMTP server details; If you don't have one you can use the defaults provided here for Gmail's, provided you have a Google account
$SMTPServer = 'smtp.gmail.com'
$SMTPPort = '587'
$Account = "username" #SMTP server account name, excluding the domain address (this part: @domain.com)
$Password = 'password' #SMTP server password, if you're using Gmail's and have 2-factor authentication you'll have to use an App Password (Google for how)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.