Skip to content

Calling `COMMAND_SYS.Mail` directly (for example, from an Execute Online SQL action) ignores the sender that's explicitly passed in, even though the same sender works correctly through a standard E-Mail event action.

Answer

Make sure you're calling the overload of COMMAND_SYS.Mail that actually includes the mail_sender_ parameter — a shorter overload without that parameter exists and will silently fall back to the default sender regardless of what's passed as the first sender_ argument, which produces exactly this symptom.

← Browse Integrations and APIs questions