The 1st section of code below with @MailSend alone works great. When I place the @MailSend inside of an @If Statement I get nothing. I have other code similar to this that is working and I can’t see any problems here. Any suggestions ?
@MailSend(“John Doe”;“”;“”;"Notification Of Supplier Update For “+PgmID+” - "+Desc;“The part for the “+PgmID+” - “+Desc+” has been updated. Please reference the appropriate attachment for details. Any questions should be directed to the proper Manager. You can review the changes by clicking on the icon below. “;””;[IncludeDoclink]);
@If(SupplierCode= “123 - New York”;
@MailSend(“Jack Doe”;“”;“”;"Notification Of Supplier Update For “+PgmID+” - "+Desc;“The part for the “+PgmID+” - “+Desc+” has been updated. Please reference the appropriate attachment for details. Any questions should be directed to the proper Manager. You can review the changes by clicking on the icon below. “;””;[IncludeDoclink]);””);