third_party_content:community:commentary:forums_nonworks:bb1df2f50bf7fbdb85256865000b9e5c

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 12 JAN 2000 09:06:54PM Shimada Bryant - T.L. Creates wrote:

I wondered if anyone has ever coded a function that allows a person to send email from a window on the DOS side.

I have wrote some things on the Windows side using OI and the MAPI functions to bring up a new mail message populated from certain data fields in a window(i.e. click a contact's email address(field) in a 'Address' window and a new mail window pops up with the 'TO:' parameter filled in and allows the user to put in their subject and comment and then send it off


At 13 JAN 2000 08:24AM Steve Smith wrote:

You could readily do email using a small Visual Basic program, which is invoked from a DOS batch file (called from AREV via a suspend command). Parameters are passed in environment strings, including mail server name, login ID, password, mailto address, subject, sender ID, and a filename for a file bearing the email text message (AREV writes this file beforehand). You might use the VB mail control from www.mabry.com. The utility would assume that you have a TCP/IP connection active in the background.

During the form load event, you send the email, then "unload me" the VB utility before the form is ever displayed. It would be invisible to the AREV user session.

It would be only a couple of hours work (if that) to put together and test. I have built similar utilities (such as a Windows FTP client callable from AREV) before, and it is quite easy. You need not even use MAPI directly if you opt for the Mabry mail control.

Say G'day to Greg H. for me.

Hope this helps,

Steve

steve@state-of-the-art.com.au

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/bb1df2f50bf7fbdb85256865000b9e5c.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1