50 pts.
 Can a STRPCCMD be use to send email from green screen.
we are not allowed to use smtp (would be to easy) so I got this application on a green screen where marketing enter information about customer... sometime they need to send an email ... and do not want to create a huge adress file with Lotus.note

so from a click of the mouse could it be possible for them to openup their email and be ready to send a text of their own ?

 

 



Software/Hardware used:
i5, rpg whatever and cl
ASKED: March 8, 2010  7:06 PM
UPDATED: March 11, 2010  3:50 PM

Answer Wiki:
STRPCCMD will run an application on the attached PC. You don;t say if the text entered into the character screen is required in the email. The SNDDSTR command will allow objects on the i5 or on the IFS space within the i5 to be sent as an email, given an email address and the server running.
Last Wiki Answer Submitted:  March 11, 2010  3:50 pm  by  Yorkshireman   5,505 pts.
All Answer Wiki Contributors:  Yorkshireman   5,505 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Yes, it can; but it also depends on how your site has things configured, particularly on your PCs. For me, this works fine:

STRPCCMD PCCMD('start rundll32.exe url.dll,FileProtocolHandler
                mailto:user@abc.com?Subject=Test%20mail')
         PAUSE(*NO)

You might need variations in the actual paths or specs for formatting. You might need changes to what’s being requested — my test PC is WinXP Pro. You might find that different PCs react differently…

But it might be a beginning point for you.

Tom

 107,845 pts.