Discussion Locked

How do I send out emails generated by ot

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to send out emails to customers, these emails are generated by our fulfillment system in the correct format, I just need someway to push them out to the people they are intended for. We do not use Exchange server, but we do have Imail by Ipswitch, but after following their directions, it did not work, any suggestions would be seriously appreciated. You may email me directly at dcason@natlallergy.com or post here.
Thanks for your reply
Dennis Cason

14 replies

by ntoz

If your package supports API calls you can use Windows Scripting host to send the email. I personaly use Outlook 2000 of which exchange server is not required. It fully supports Visual Basic for Applications. Windows Scripting host, which is lang independent, supports Visual Basic Script. Using Visual basic script you can stuf anything into outlook and have it email it. Since you can script it, you can also shedual it and customize it to your needs exactly. Another beauty of it is you can create a custom form under Outlook and have the form deliver your message taylored to your needs. Best of all WSH is built into Windows and VBS is written with as little as notepad. Finaly, its free! If you need consulting services please let me know, documentation is available @ http://msdn.microsoft.com. Something like this should take only a short time for you to develope and since its very flexable and powerful, its prob your best solution for the long term.

Pete

by duwaned

You could use the mapisend.exe utility and attach your file to a mail message. Mapisend is a command line utilty from Microsoft that has this sort of functionality. All that you need to be able to use this utlity is a MAPI client (Outlook) installedon the machine that you are trying to mail from, and the utlity itself.

You could write a batch file which sends the output of you application to as many people as you wish, and schedule it to run at any time. Mapisend.exe is available on the Backoffice Resource kit Second Edition CD.

If you need help scripting this batch file, let me know (duwaned@hotmail.com), and I can send some examples to help you write it.

Hope this helps.
Regards.
Duwane

by duwaned

The other good thing about this method is that the utlity does not care what mail server you are running. It just forwards the mail to your MAPI client, and the client software sends it to your server. - Duwane

by estebandelatorre

hI, REALLY DON'T KNOW ABOUT IPSWITCH, BUT IF IT IS A MAPI COMPLIANT E-MAIL SERVER LIKE GROUPWISE OR EXCHANGE IT WILL WORK.
IN THIS ADVICE, YOU WILL NEED VISUAL BASIC 6.0 WITH SP4, A MAPI E-MAIL SYSTEM AND OUTLOOK98, 98 OR 2000 JUST TO MENTION A MAPI COMPATIBLE EMAIL CLIENT.
There are 3 ways o0f sending email: VB's MAPI control, the CDO library and the MSoutlook object model.They all need to be connected to a mapi.compliant e-mailserver in order to send some email using your email client software (outlook). The MAPI controls are the easiest way to send email, but they are limited only send emails, not to access the inbox or calendar objects, for you it's enouhgt. Just load the mapi control into vb toolbox by right clicking on the toolbox and choosing Components from the popup menue. Scroll down the list and click on the checkbox in front of Microsoft MAPI controls, and then click OK. The MAPI controls are in the MSMAPI32.ocx file under the windows system directory.
Drag both a MapiSession and a MAPIMessages control to a form, right click on the first one and choose properties, uncheck the download mail and logonUI checkboxes.
This emailtest app demosntrates how do the task. First start your e-mail client and log on (it's not necesary but it will be faster). Perhaps you can use this code (sended via email)into your own apps easily

Hope it will be usefull.

by cyberfeces

As simple as this sounds it has worked on the systems here. In Internet Explorer>Tools>Internet Options>Programs, make sure that your eMail program is selected correctly.

This discussion is closed to new replies.