windows - Powershell Send-MailMessage cmdlet - Subject parameter won't let me pass a number -
so part of larger script i'm working on have send email results whenever use number in subject field not number not send mailmessage never sent , no error message appears. used try / catch haha's there not errors caught, it's quite perplexing. else ever run problem? if use alphabetical characters functions fine, numbers seem cause issues :-/
send-mailmessage -smtpserver("mailserver.fakecorp.com") -from("nagios.monitor@fakecorp.com") -to("adamk@fakecorp.com") -subject("30") -body("$arrproburls")
apparently it's email false alarm. tried pc of cubicle on , worked. email. ok powershell's not problem :) thought have been quite strange! quick responses!
Comments
Post a Comment