× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Help using SNDEMAIL
  • From: Angela Wawrzaszek <wawrzaszeka@xxxxxxxxxxx>
  • Date: Wed, 7 Feb 2001 12:15:15 -0500

I have been using this command in a few CL programs however the recipient has always been "hard coded".   I am now trying to use this from an RPG program and I cannot send parms.  I tried just calling a CL program that executes the SNDEMAIL command and pass the email address.  However I get that the path contains null characters.  How can I pass an email address to this command or the CL without having to basically recreate the whole program again.
 
I see from the CL that Address is 7847 characters long to account for multiple recipients.  Do I have to define a DS and then pass the whole DS in specifying where each address could appear,  name of recipient and the type (ie. *PRI...)  or can I somehow just pass an email address and message to the command and except all other defaults so the DS will get created when the CL is called?
Angie Wawrzaszek
M.I.S. Department
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.