• Subject: RE: Help using SNDEMAIL
  • From: Dimitri Efimov <defimov@xxxxxxxxxxxx>
  • Date: Wed, 7 Feb 2001 15:08:56 -0500

Angie,
 
Do You mean SNDDST command?
We have a AS/400 connected to Microsoft Exchange and send e-mail via:
SNDDST TYPE(*LMSG) TOINTNET((&EMAIL)) DSTD(&ASUNTO) MSG(&MENSSAGE1) LONGMSG(&MENSAGETXT)                                     
 
Only thhe name of the user who send e-mail has to be defined in DS.
 
Here U can find how setup SMTP:
http://www.as400network.com/Resources/ClubTech/TNT400//bo400ng/as400smtpsetup.htm
 
Hope this information can be usefull
 
Have a nice day,
 
Dmitri
-----Mensaje original-----
De: Angela Wawrzaszek [mailto:wawrzaszeka@AUSTEEL.com]
Enviado el: miércoles, 07 de febrero de 2001 12:15
Para: Midrange Mail List (E-mail)
Asunto: Help using SNDEMAIL

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 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.