I'm new to Java. What little I do know is self-taught. Please bear with me as I may not use the correct terminology.
I have a program I知 writing that I値l call my work-horse program.
I have a second program I知 writing to SendEmails.
I want to call the SendEmails program from the work-horse program but when I do I need to pass the values for the TO, FROM, SUBJECT and TEXT fields.
I don稚 know the syntax needed to call a program and pass the values needed.
In the work-horse program I have "SendEmail();" to call the SendEmail program, and that works as long as the values that I want to pass are hard coded into the work-horse program.
I don't know what to do in either program in order to pass the values needed from the work-horse program to the SendEmail program.
Thank you for your time.