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

Conference eps::command_procedures

Title:Welcome to the new DCL hackers home on EPS::
Moderator:EPS::VANDENHEUVEL
Created:Thu Jul 14 1994
Last Modified:Mon May 12 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1820
Total number of notes:10378

1817.0. "$mail/subj= does not parse Internet Address" by NETRIX::"stav@mail.dec.com" (John Stavropoulos) Wed Jan 22 1997 16:25

T.RTitleUserPersonal
Name
DateLines
1817.1BUSY::SLABAs you wishWed Jan 22 1997 17:185
1817.2HmmmFUNYET::ANDERSONWhere's the nearest White Castle?Wed Jan 22 1997 17:2847
1817.3AUSS::GARSONDECcharity Program OfficeWed Jan 22 1997 19:5355
1817.4Aaaahhaaaaa! and Thanks!NETRIX::"stav@mail.dec.com"John StavropoulosThu Jan 23 1997 12:027
1817.5BUSY::SCORESTue Apr 08 1997 01:3669
    
	OK, we're using DELIVER to automate the answering of requests for
    	softball information from anyone who cares to know.  This was fine
    	when everyone was on VMS and had node::name addresses, but in the
    	days of non-Digital employees and Exchange it doesn't seem to work
    	as well.
    
    	I'd figure I'm missing some quotes or something [well, "I" isn't
    	exactly right since I didn't/couldn't write this anyways, but I
    	own it now so it might as well be mine], but I don't know where to
    	put them.
    
    	I'm going to see if CS/IT would be willing to load SCORES onto an
    	NT server and set it up with Exchange, so that I can use a series
    	of Inbox Assistants to replace DELIVER, but for now I'd like to try
    	and get this thing working.
    
    	Any/all help would be appreciated.  Thanks.
     
    							Shawn L.
    							BUSY::SLAB
    
    
    
$!	These two lines are used to debug this thing. If debugging is 
$!	desired, remove the comment characters from the next three
$!
$! Define sys$output sys$login:deliver.log
$! Set Verify
$  Debug = 1
$! Debug = 0
$       If Debug
$         Then
$         Define Sys$output [scores.temp]deliver.log
$         Set Verify
$         Endif
$!
$!
$	Spaces = "                                        "
$!
$Start:	
$	From = f$extract(0,f$locate(" ",From),From)
$       Count = 1
$Get_Info_Loop:
$       Element = F$Element(Count," ",Subject)
$       Count = Count+1
$       If Element .eqs. " " Then Goto Done_Searching
$       Search [Scores.Deliver]valid_team_names.txt 'Element'
$       If $Status .ne. 1 Then Goto Invalid_Team
$       Mail/Noself [SCORES.DIS.TEAM_ROSTERS.1997]'Element'.dis 'From'/subj="Current League Roster for ''Element'"
$       Goto Get_Info_Loop
$!
$Invalid_Team:
$       Mail/subj="Request Roster for Invalid Team Name - ''Element', try again" nl0: 'From'
$       Goto Abort
$!
$Done_Searching:
$!
$!	Just for yucks, copy the com file and message file to a temporary
$!	directory to see what's happening
$!
$!
$Abort:
$!
$	if .NOT. Debug Then Exit
$!
$	Copy 'message_file' [scores.temp]*
$	Copy 'command_file' [scores.temp]*
$	Exit
1817.6AUSS::GARSONDECcharity Program OfficeTue Apr 08 1997 02:1219
    re .5
    
    Without looking too deeply...
    
    replace 'from' with "''qfrom'" in the MAIL send command line.
    
    DELIVER makes the symbol, qfrom, available precisely for this reason
    (and I am myself using it successfully in a little hack that I have
    that is triggered by DELIVER).
    
    
    Another (untested) workaround is to replace 'from' with &from in the
    MAIL send command line.
    
    
    If neither of these resolves the problem then you need to show us the
    exact line that is failing and show us what it looks like after symbol
    substitution i.e. SET VERIFY output for the line.
                                                     
1817.7BUSY::SCORESTue Apr 08 1997 04:1815
    
    	Ahah, here it is:
    
    	[using "''from'"]
    
    
    $       Mail/Noself [SCORES.DIS.TEAM_ROSTERS.1997]gazintas.dis -
    "US6RMC::"Labounty@Mail.Dec.Com""/subj="Current League Roster for gazintas"
    
    %DCL-W-IVQUAL, unrecognized qualifier - check validity, spelling, and
    placement
    
    
    	It's missing the 2nd " before Labounty and the 3rd " at the end.
    
1817.8using qFromBUSY::SCORESTue Apr 08 1997 04:3211
    
    	Ooh, this looks like it might have worked:
    
    $       Mail/Noself [SCORES.DIS.TEAM_ROSTERS.1997]gazintas.dis -
      "US6RMC::""Labounty@Mail.Dec.Com"" ""Shawn Labounty"""/subj="Current
    League Ro
    ster for gazintas"
    
    
    	I'll be back in a few minutes to let you know.
    
1817.9BUSY::SLABCandy'O, I need you ...Tue Apr 08 1997 13:395
    
    	Yes, it did work ... thanks!!
    
    	I owe you one.  Actually, how many am I up to now?  8^)
    
1817.10AUSS::GARSONDECcharity Program OfficeTue Apr 08 1997 22:446
re .9
    
>    	I owe you one.  Actually, how many am I up to now?  8^)

    Payment is accepted in the form of a free feed. The good news is that
    you don't have to pay unless we find ourselves in the same city. (-:
1817.11BUSY::SLABDancin' on CoalsWed Apr 09 1997 03:384
    
    	If you ever get to the Marlboro MA area, look me up.  I'm in ELF
    	and sometimes even answer my phone if I recognize the ring.
    
1817.12Will consult for foodSPSEG::PLAISTEDSubspace Gaseous AnomalyWed Apr 09 1997 14:040