I have a SAS job which emails a report to a number of internal e-mail addresses which has been running succesfully, but now I also need to send the report to an external email address which is causing problems.
I seem to able to send the report to reciepients where the address is of the type 'email@example.com', but not if it is of type 'firstname.lastname@example.org' - for this type of address I get a 'Message Status - undeliverable' message from my e-mail client saying
The message that you sent was undeliverable to the following:
my.mail.@whatever.com (501 5.5.4 Invalid Address)
i.e. it looks like the first character after the first '.' in the email address is being dropped, and an extra '.' is being added before the '@'.
The outgoing EMAIL recipient's address should be clearly listed in your SAS log -- so if it is missing the trailing period as generated by SAS, I would say that you have some non-SAS issue - do you agree? My suggestion is to check your SAS code and SAS log very closely to ensure that the error is not being generated by your code -- then if all looks well as the EMAIL leaves SAS, it's time to discuss the problem with your EMAIL system techies.