Operating System - OpenVMS
1827474 Members
2323 Online
109965 Solutions
New Discussion

Re: Another MAIL question !

 
SOLVED
Go to solution
Anthony Tyrell_1
Occasional Contributor

Another MAIL question !

Hi guys,

just a quick question this time. I have now managed to setup and configure SMTP and therefore MAIL is now working. However, a user has asked whether or not it is possible to use MAIL commands direct from the DCL. From brief tests this does not appear to be possible, just wondered if there was something that can be done with this program? The reason this is an issue is that on the previous system (VAX VMS 5.5-2) we used a 3rd party TCPIP package from wollongon which provided an FMAIL application that could be run directly from the command line ?

Cheers
8 REPLIES 8
Lokesh_2
Esteemed Contributor

Re: Another MAIL question !

Hi,

Sorry but, Can you please explain your problem in detail. What you want to mail ? a file etc ?

Thanks & regards,
Lokesh
What would you do with your life if you knew you could not fail?
Wim Van den Wyngaert
Honored Contributor
Solution

Re: Another MAIL question !

On DCL :

simply type

mail/subj="test" file_to_mail "destination"

or use decw$mail via X

(but then, how did you test your mail ?)
Wim
Art Wiens
Respected Contributor

Re: Another MAIL question !

Or do you mean:

$ mail
MAIL> send/noedit
To: smtp%"atest@somedomain.com"
CC:
Subj: Testing Testing...
Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:
1 2 3
^Z does an Exit

MAIL>

Art
Art Wiens
Respected Contributor

Re: Another MAIL question !

Or possibly you may have the situation where from your old system, a symbol was setup to redefine the MAIL command? Try a $ SHOW SYMBOL MAI* ... still referencing FMAIL? If you enter MAIL at the DCL prompt, do you enter the MAIL program, or get an error message?

Like Wim asked, how did you determine MAIL is working?

Art
James C. Nix
Frequent Advisor

Re: Another MAIL question !


I'm not sure what your question is but the answer is "yes".

Seriously, though, what errors are you receiving? The address specification is key to ensuring proper routing.

"From brief tests this does not appear to be possible, just wondered if there was something that can be done with this program?"

What program?

I've set up DecNet IV with Multinet and routed email from DCL interactively and in batch jobs to both VMS Mail accounts and desktop PC email clients.

There are "some" limitations regarding attachments and other popular desktop email niceties (binary attachments).









I must hurry for there goes my group.... and I am their leader.
Willem Grooters
Honored Contributor

Re: Another MAIL question !

Limited facilities, actually.

If the file (should be text-only) already exists, you can:

MAIL

You have far more control from within the MAIL utility itself. The system manager can influence the facilities as well.

Check HELP MAIL for DCL options, and HELP within MAIL for more deatils.

Non-text files can be sent, but it requires a bit more work. First, you have to create a file to be sent using the MIME utility. After that, you can send the file using MAIL.

You may have to supply a commandprocedure to ease your users....

If you run a web server on the system, and your users access the system using a PC, you could also use a web-based VMS-MAIL interface. I use Mark Daniel's YAHMAIL (check http://wasd.vsm.com.au/wasd).
Willem Grooters
OpenVMS Developer & System Manager
Martin P.J. Zinser
Honored Contributor

Re: Another MAIL question !

Hello,

check the settings of the mail$internet_transport and mail$protocol_smtp logicals. Also an actual error message would be
usefull ;-)

Greetings, Martin
Anthony Tyrell_1
Occasional Contributor

Re: Another MAIL question !

Thanks for all your reponses, apologies about my disjointed post above. I had figured out just after posting that I was using the wrong syntax for the MAIL command, as such it was pushing into the application instead of allowing the mail to be sent. Once I had sorted this out, like most of you mentioned it does allow you to email directly from the DCL. Again many thanks. ant