VMS Help  —  TCPIP Services, SMTP  Defining the Outbound Alias
    To specify an outbound alias, define the TCPIP$SMTP_FROM logical
    to the text you want your From: header to be.

    For example, you might define the logical as follows:

    $ DEFINE TCPIP$SMTP_FROM "bill.smith@xxx.com"

    This command sets the outbound alias to the following:

    From: bill.smith@xxx.com

    Define the TCPIP$SMTP_FROM logical before invoking OpenVMS Mail.

    If you always want the header to be sent with the outbound alias,
    define the logical in your login command procedure (LOGIN.COM).

    The outbound alias must be a valid address to which recipients
    can reply. If it is not valid, recipients cannot reply to you,
    and bounced mail messages are not returned to you.

    If you do not define the TCPIP$SMTP_FROM logical, the From:
    address on your mail messages is the same one that you have
    always had.

    Use only simple 7-bit ASCII characters in the value you assign to
    the TCPIP$SMTP_FROM logical. Do not use control characters.

    The address you use to define TCPIP$SMTP_FROM must be an RFC 822
    legal SMTP address; that is, user@domain. If the address is not
    interpreted correctly, the SMTP mailer ignores it and uses the
    From: address that it has constructed for you.
Close Help