Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: blast_off on December 28, 2012, 04:28:40 PM

Title: scripted email notification
Post by: blast_off on December 28, 2012, 04:28:40 PM
anyone know of a way to send an email based on a condition within your scripts/code?  Something built in.  Maybe a VB call to an email client on the box? 
Title: Re: scripted email notification
Post by: BR549 on December 28, 2012, 05:39:26 PM
http://www.machsupport.com/forum/index.php/topic,11499.0.html

(;-) TP
Title: Re: scripted email notification
Post by: blast_off on December 31, 2012, 01:03:46 PM
yup, that worked.  Although I had to put a "1" in at the authentication spot, instead of spelling out the method.

'Type of authentication, NONE, Basic (Base64 encoded), NTLM
'objMessage.Configuration.Fields.Item _
'("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic

(didn't work)

'Type of authentication, NONE, Basic (Base64 encoded), NTLM
'objMessage.Configuration.Fields.Item _
'("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1

works.

thanks!
Title: Re: scripted email notification
Post by: Daregone on June 11, 2015, 12:43:06 AM
Sorry to dig up an old thread - but can someone explain how to do this a bit more thoroughly?

Thanks!