| Home | All functions | Legacy functions | Categories |
Prototype: vuSetFromReplyTo(*CSTRING InFromEmail, *CSTRING InReplyToEmail), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSetFromReplyTo’)
This is the legacy vuMail function name.
Preferred function name:
This function is exported for backward compatibility and behaves identically to vuSmtpSetFromReplyTo().
vuSetFromReplyTo() now accepts any of these forms for the From value:
Behavior:
If a display name is supplied without an email address and there is no existing saved/default sender address available, the call fails.
rc LONG
fromAdr CSTRING(256)
replyTo CSTRING(256)
fromAdr = 'sales@example.com'
replyTo = 'support@example.com'
rc = vuSetFromReplyTo(fromAdr, replyTo)
IF rc = 0
MESSAGE('From/Reply-To was not accepted: ' & vuMailLastError())
END
| Home | All functions | Legacy functions | Categories |