Title: | Microsoft Exchange Server |
Notice: | |
Moderator: | FLASK2::SYSTEM |
Created: | Fri Feb 17 1995 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Thu Jun 05 1997 |
Number of topics: | 1099 |
Total number of notes: | 5174 |
I am using EFD to input trouble ticket data. I have modified COMMANDS.BAS to create a text file containing the form data and boilerplate which will be used by a downstream program to generate the trouble ticket. I now have the problem of automatically mailing the text file to the other software. I have tried "sendmail.exe", but find it won't run on Alpha. The right way to do this is via MAPI calls, but I have no MAPI experience and no manuals for MAPI from within Visual Basic. Can anyone point me to some VB code which will read in a text file and send the mail along, just something I can use as sample or guide? What was supposed to be a 2 day effort is going into it's 7th day... Thanks for any pointers you might provide, Al
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
861.1 | 2954::FOLEY | http://axel.zko.dec.com | Wed Feb 05 1997 15:31 | 6 | |
You could try useing BLAT. That's a simple SMTP command line emailer. Available in Intel and Alpha. mike | |||||
861.2 | Use custom MAPI control from VB? | TURRIS::twuwuv.zko.dec.com::hower | Thu Feb 06 1997 15:01 | 6 | |
If you're using VB 4.0, you should be able to use the MAPI controls (seeTools/Custom Controls.../MS Mapi Controls) to send the file. Help "MAPI" also points to a sample MAPI application. It's "simple MAPI", but should work for simply sending files. Helen | |||||
861.3 | OGOPW1::tunsrv2-tunnel.imc.das.dec.com::michaelw | [email protected] | Sun Apr 13 1997 07:09 | 12 | |
If you still need this write me at [email protected] for MAPI samples in VB. I am not a programmer by trade. My codes ugly, but it does EVERYTHING you mentioned plus can walk public folder trees and read their contents. [email protected] Tal. |