Hi all
I have an issue using the PUT function returning a zero code when a fail happens with the mail adapter so I've been told I need to use a RUN map to call adapter.
Can anyone explain how to use a RUN map to call the mail adapter. I need to read to, from and server names from a config file so i can't just hard code them to the command section of the output adapter card. How do I pass these inputs to the mail adapter?
=VALID(PUT("EMAIL", "-PROTO INET -SERVER '"+MAILSERVER:Out+"' -FROM '"+MAILFROM:Out+"' -TO '"+MAILTO:Out+"' -SUB 'Subject of message' -TV", Input), FAIL("EMAIL"))
I have an issue using the PUT function returning a zero code when a fail happens with the mail adapter so I've been told I need to use a RUN map to call adapter.
Can anyone explain how to use a RUN map to call the mail adapter. I need to read to, from and server names from a config file so i can't just hard code them to the command section of the output adapter card. How do I pass these inputs to the mail adapter?
=VALID(PUT("EMAIL", "-PROTO INET -SERVER '"+MAILSERVER:Out+"' -FROM '"+MAILFROM:Out+"' -TO '"+MAILTO:Out+"' -SUB 'Subject of message' -TV", Input), FAIL("EMAIL"))