- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I have done mail automation using SAS , but the delivery id is been like SAS-sytem@XX.com default SAS mail id on behalf on my personal id. So is there any way I can change the default mail id of SAS system temporarily and use some other name??
Please do the needful. Thanks!!
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If I understand you correctly, you want to change the name/address of the sender, so that you can send on behalf of your department or whatever.
You can do that using the FROM= option in the email filename specification. You can also specify the return address using the SENDER=option (if the mail cannot be delivered, the error message will be sent to the email address given here).
You can also do it dynamically, by using PUT "!EM_FROM! <address>" or PUT "!EM_SENDER! <address>" in your datastep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you're using SAS Codes to shoot an email, you can use filename statement, SMTP Access method, Here's a link:
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002058232.htm
In this method you've option "From=" ; Use this option in and give it to the other name;
For eg:
from="Kalind Patel <Kalind.Patel@xxx.com>";
Hope it helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Now I am getting mail like from : SAS-System@xxx.com on Behlaf My Personal ID<arun.ramji@XX.com>.
I want to change the SAS system mail id to some other Mail id or else want to hide it..
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If I understand you correctly, you want to change the name/address of the sender, so that you can send on behalf of your department or whatever.
You can do that using the FROM= option in the email filename specification. You can also specify the return address using the SENDER=option (if the mail cannot be delivered, the error message will be sent to the email address given here).
You can also do it dynamically, by using PUT "!EM_FROM! <address>" or PUT "!EM_SENDER! <address>" in your datastep.