Badges

Types

Formats

Show Only

EmailLogs.vbs
https://mreschke.com/213/emaillogsvbs
This script will email a log file (or any file specified) only if the file is under a certain size. If the file is over that size limit, it will still email, but no log will be attached. See Script does not use parameters, everything is hard coded, so just call the .vbs. Great in a scheduled task to email you a daily log file. Can easily be modified with parameters for various purposes. Option Explicit Dim iMsg, iConf, Flds, pc 'Email vars Dim logFile, maxLogSize 'Log vars Dim FSO, File, strSiz...
|
post #213 by mreschke Nov 10th 2010 (2818 views)
Outlook Resources
https://mreschke.com/185/outlook-resources
A user of OWA (outlook web access) cannot create an event on a public shared calendar and invite attendees, the invite button is grayed out. This is by Microsoft design (google it). In order to allow an OWA user to create a calendar event with his calendar, other users calendar, and a public calendar, the public calendar must be assigned an email address and the OWA user must create the event from his own personal calendar, then click invite, then search for the public calendar as an attendee....
|
post #185 by mreschke Mar 11th 2010 (3830 views)
SMTP from MSSQL Procedure
https://mreschke.com/167/smtp-from-mssql-procedure
Ability to send an email from a MSSQL Stored Procedure http:www.sqldev.net/xp/xpsmtp.htm Download the attached .zip and extract Copy the xpsmtp80.dll to C:\Program Files\Microsoft SQL Server\MSSQL\Binn Run this procedure on the servers master database _ exec sp_addextendedproc 'xp_smtp_sendmail', 'xpsmtp80.dll' Use this syntax for a simple email _ DECLARE @rc INT EXEC @rc = master.dbo.xp_smtp_sendmail @FROM = N'from@email.com', @FROM_NAME = N'fromname', @replyto = N'replyto@email.com', @TO = N'...
|
post #167 by mreschke Dec 23rd 2009 (6773 views)
Solve SMTP Bogus Helo
https://mreschke.com/123/solve-smtp-bogus-helo
> Errors > Helo command rejected: need fully-qualified hostname > Host name xxx.com doesn't match IP address xxx.xxx.xxx.xxx See http:en.wikipedia.org/wiki/List_of_DNS_record_types Im not sure, but I believe along with correcting the reverse dns lookup (see below) you also need to set a fully qualified domain name (FQDN) for EasyMail SMTP Express. Usually, EasyMail will use the name of the server as the FQDN. An example, my server is dyna-web, so the error message is : Helo command rejected: ne...
|
post #123 by mreschke Jan 5th 2009 (9172 views)
Linux SendEmail
https://mreschke.com/79/linux-sendemail
Not to be confused with linux sendmail. apt-get install sendEmail Create a bash script "sendemail" and run chmod 755 on it. #!/bin/sh export smtpemailfrom=zabbix@yourdomain.com export zabbixemailto=$1 export zabbixsubject=$2 export zabbixbody=$3 export smtpserver=yoursmtpserver.com export smtplogin=smtpuser export smtppass=smtppassword #Use this line if your SMTP server requires authentication /usr/bin/sendEmail -f $smtpemailfrom -t $zabbixemailto -u $zabbixsubject -m $zabbixbody -s $smtpserver:...
|
post #79 by mreschke Jun 30th 2008 (5245 views)
Send Email using VBScript
https://mreschke.com/45/send-email-using-vbscript
This is just a function snippet, sends an email with attachments, must manually edit function with email and attachment parameters. Used in and Sub SendLogEmail() Set pc = CreateObject("Wscript.Network") Set iMsg = CreateObject("CDO.Message") Set iConf = CreateObject("CDO.Configuration") Set Flds = iConf.Fields Const schema = "http:schemas.microsoft.com/cdo/configuration/" dim emailBody Flds.Item(schema & "sendusing") = 2 Flds.Item(schema & "smtpserver") = "xxx.xxx.xxx.xxx" Flds.Item(schema & "...
|
post #45 by mreschke Apr 29th 2008 (6017 views)
Showing 1 to 6 of 6 results