Title: | POLYCENTER Console Manager |
Notice: | Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS: |
Moderator: | CSC32::BUTTERWORTH |
Created: | Thu Aug 06 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1541 |
Total number of notes: | 6564 |
How does someone get the MAIL action on VMS to send MAIL via SMTP? The DCL command is: $MAIL/sub=stuff something.dat smtp%"""user@there""" I've defined my USERDATA as stmp%"user@there" and smtp%"""user$there""" and it hasn't worked yet. Am I better off writing my own MAIL function and passing user@there as P8? Has anyone done this before? Jim - who likes smtp's store and forward functionality
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1327.1 | SNOFS1::ELLISS | Are you all sitting too comfybold square on your botty? - Then we'll begin | Tue Jun 18 1996 20:53 | 7 | |
Jim, is this internal to digital? if so, the mail address could be WRL::"name@node" Shaun | |||||
1327.2 | External | PHXSS1::ADKINS | Wed Jun 19 1996 10:01 | 9 | |
re: .1 No, this is at a customer site. Inside MAIL it's SMTP%"name@node". At DCL its STMP%"""name@node""" so the double-quote gets passed to MAIL. Jim | |||||
1327.3 | CSC32::BUTTERWORTH | Gun Control is a steady hand. | Thu Jun 20 1996 15:04 | 25 | |
Jim, Do the following: $ DEFINE/SYSTEM/EXEC CONSOLE$DEBUG ACTION $ @SYS$STARTUP:CONSOLE$STARTUP RESTART Now, trigger some events that are supposed to cause Mail to be sent. You will now have the command file that ENS generates to run the action as well as the logfile from the action routine process. Now you'll be able to see whats wrong. I have a suspicion that what you will need to do is modify the action routine so that it does the proper mail command and expands the recipient parameters within the quotes, e.g., your command could be MAIL/SUBJECT=blah filename SMTP%"""''P1'""" Note, P1 probably isn't the correct parameter. The filter defintion will tell you. You want to look at whatever parameter the "Userdata" value is and use that. REgards, Dan Regards, Dan |