|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SMTP engineI have no idea where to start with this question or even if it is right for this forum. But here goes. Q. My client has a standalone system that does not have outlook express or outlook installed. They want me to do the following. 1. Identify the error the system creates and depending on the type of error their system creates take the necessary action.(already done) 2. if the action requires rebooting the machine - that is taken care of. However if the action is to email the user an email message with the specific error i am stuffed as they don't use outlook express or outlook. Does anyone know how to create a smtp engine that will allow me to send specific information )(ie. user information, system error, location, etc). If anyone can point me to some samples that would be great. TIA Justin Use CDOSYS to send an SMTP mail.
Show quoteHide quote "Justin" <Jus***@discussions.microsoft.com> wrote in message news:79CD9B0F-D669-41AF-ADA7-7C9ECF2AED4E@microsoft.com... > Hi All, > > I have no idea where to start with this question or even if it is right > for > this forum. But here goes. > > Q. My client has a standalone system that does not have outlook express or > outlook installed. They want me to do the following. > > 1. Identify the error the system creates and depending on the type of > error > their system creates take the necessary action.(already done) > 2. if the action requires rebooting the machine - that is taken care of. > However if the action is to email the user an email message with the > specific > error i am stuffed as they don't use outlook express or outlook. > > Does anyone know how to create a smtp engine that will allow me to send > specific information )(ie. user information, system error, location, etc). > > If anyone can point me to some samples that would be great. > > TIA > > Justin Easily add email support to a VB application:
http://www.veign.com/vrc_codeview.asp?type=app&id=46 -- Show quoteHide quoteChris Hanscom - Microsoft MVP (VB) Veign's Resource Center http://www.veign.com/vrc_main.asp Veign's Blog http://www.veign.com/blog -- "Justin" <Jus***@discussions.microsoft.com> wrote in message news:79CD9B0F-D669-41AF-ADA7-7C9ECF2AED4E@microsoft.com... > Hi All, > > I have no idea where to start with this question or even if it is right > for > this forum. But here goes. > > Q. My client has a standalone system that does not have outlook express or > outlook installed. They want me to do the following. > > 1. Identify the error the system creates and depending on the type of > error > their system creates take the necessary action.(already done) > 2. if the action requires rebooting the machine - that is taken care of. > However if the action is to email the user an email message with the > specific > error i am stuffed as they don't use outlook express or outlook. > > Does anyone know how to create a smtp engine that will allow me to send > specific information )(ie. user information, system error, location, etc). > > If anyone can point me to some samples that would be great. > > TIA > > Justin I use the vbsendmail.dll in my projects it is free and very stable ,
http://www.freevbcode.com/ShowCode.Asp?ID=109 regards Michel Posseth [MCP] Show quoteHide quote "Justin" <Jus***@discussions.microsoft.com> wrote in message news:79CD9B0F-D669-41AF-ADA7-7C9ECF2AED4E@microsoft.com... > Hi All, > > I have no idea where to start with this question or even if it is right > for > this forum. But here goes. > > Q. My client has a standalone system that does not have outlook express or > outlook installed. They want me to do the following. > > 1. Identify the error the system creates and depending on the type of > error > their system creates take the necessary action.(already done) > 2. if the action requires rebooting the machine - that is taken care of. > However if the action is to email the user an email message with the > specific > error i am stuffed as they don't use outlook express or outlook. > > Does anyone know how to create a smtp engine that will allow me to send > specific information )(ie. user information, system error, location, etc). > > If anyone can point me to some samples that would be great. > > TIA > > Justin A local SMTP service is installed as part of IIS. Hence, if that system has
IIS then your job is a lot easier. Otherwise, you need to use CDOSYS (which is a standard component) and configure it to use a remote mail server. If you do have a local SMTP service then you can also use CDONTS. This is specific to that local service (i.e. it cannot be configured to use a remote service) and is a bit easier to get going. It's not a standard component but it is redistributable. Tony Proctor Show quoteHide quote "Justin" <Jus***@discussions.microsoft.com> wrote in message news:79CD9B0F-D669-41AF-ADA7-7C9ECF2AED4E@microsoft.com... > Hi All, > > I have no idea where to start with this question or even if it is right for > this forum. But here goes. > > Q. My client has a standalone system that does not have outlook express or > outlook installed. They want me to do the following. > > 1. Identify the error the system creates and depending on the type of error > their system creates take the necessary action.(already done) > 2. if the action requires rebooting the machine - that is taken care of. > However if the action is to email the user an email message with the specific > error i am stuffed as they don't use outlook express or outlook. > > Does anyone know how to create a smtp engine that will allow me to send > specific information )(ie. user information, system error, location, etc). > > If anyone can point me to some samples that would be great. > > TIA > > Justin Hi All,
Unfortunately this app is going into a kiosk machine with a very scaled down version of windows. I like the idea of both cdosys and the free smtp engine. Regards Justin Show quoteHide quote "Tony Proctor" wrote: > A local SMTP service is installed as part of IIS. Hence, if that system has > IIS then your job is a lot easier. Otherwise, you need to use CDOSYS (which > is a standard component) and configure it to use a remote mail server. If > you do have a local SMTP service then you can also use CDONTS. This is > specific to that local service (i.e. it cannot be configured to use a remote > service) and is a bit easier to get going. It's not a standard component but > it is redistributable. > > Tony Proctor > > "Justin" <Jus***@discussions.microsoft.com> wrote in message > news:79CD9B0F-D669-41AF-ADA7-7C9ECF2AED4E@microsoft.com... > > Hi All, > > > > I have no idea where to start with this question or even if it is right > for > > this forum. But here goes. > > > > Q. My client has a standalone system that does not have outlook express or > > outlook installed. They want me to do the following. > > > > 1. Identify the error the system creates and depending on the type of > error > > their system creates take the necessary action.(already done) > > 2. if the action requires rebooting the machine - that is taken care of. > > However if the action is to email the user an email message with the > specific > > error i am stuffed as they don't use outlook express or outlook. > > > > Does anyone know how to create a smtp engine that will allow me to send > > specific information )(ie. user information, system error, location, etc). > > > > If anyone can point me to some samples that would be great. > > > > TIA > > > > Justin > > >
DoEvents causing Error 91 in keyboard buffer handling?
Determine if an item in a collection has changed Timer intervals longer than 65 seconds 8.3 Filename on Win 98 problem I'am stupid VB 6 and CDOSYS ListView Duplicate Items! Best Method Of Generating Serial Numbers VB6 Concatenate Field vb6 controls on form do not update |
|||||||||||||||||||||||