[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

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

1327.0. "SMTP and MAIL on a VMS platform" by PHXSS1::ADKINS () Tue Jun 18 1996 18:46

    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.RTitleUserPersonal
Name
DateLines
1327.1SNOFS1::ELLISSAre you all sitting too comfybold square on your botty? - Then we'll beginTue Jun 18 1996 20:537
Jim,

is this internal to digital?

if so, the mail address could be WRL::"name@node"

Shaun
1327.2ExternalPHXSS1::ADKINSWed Jun 19 1996 10:019
    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.3CSC32::BUTTERWORTHGun Control is a steady hand.Thu Jun 20 1996 15:0425
    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