When you send SMTP email in SAS 9, error messages appear:
ERROR: Bad email address: YOURUSERID/DHP/HMO/DHS
FATAL: Unrecoverable I/O error detected in the execution of the data
step program.
The problem is especially likely to occur if your default emailid
contains slash characters which are common in Lotus Notes Email
user IDs. The problem occurs because SAS 9 attempts to verify the sender
of the email.
To circumvent the issue, use the SENDER= option and use a name that does
not contain slashes such as the following:
FILENAME mymail EMAIL TO='yourid@wherever.com' SENDER='sender name';
This statement overrides the default sender ID and allows the email to
go through.