Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send files or reports out through emails

Status
Not open for further replies.

112055

Programmer
May 13, 2002
61
US
Hello,
I am new to Progress. I want to send the Monthly.p out through email by having the user type in the email address into the prompt field. Can anyone give me some idea how I can accomplish that?

DEF button btn-rpt Label "Reports".

on choose of btn-rpt do:
run Monthly.p
end.

thanks,
ann
 
This will depend completely on:

What OS is this running on?
What mail package you are using?
Where the output of Monthly.p normally go?
 
Thanks stanhubble, I'll have to look into it. Those are all good questions. I might submit my help later.
 
There's a nifty utility to help you with this at It's a program called smtpmail.p, it's written entirely in Progress, it's independent of OS and mail package, it's widely used and it's reliable. All you need is the name or IP address of your mail server and smtpmail.p takes care of everything else. You could output your report to a file and send that as an attachment.

HTH
Mike.
 
Thanks HelloMike, I got IT guys to set up an alias in our Mail server, so the report is created it will be re-routed to the users on the recipient list.

But will keep your info at hand.

Thank,
Ann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top