Have you put ON ERROR RESUME NEXT in every one of your modules??
If not and VB generates an error messge, it will most likely be attempting
to create a window to tell you about it.
I have written a few VB programs that are triggered by IMails aliases.
Once the problems in the code are ironed out it runs well.
Some examples of the programs that I have written and gotten working are:
- Receive an email and verify that the sending email address is a valid
sender. Then I use Mabry's mail control to send the
message to a different alias which contains a list of all of the
receipents. If the person is not a valid sender, I send a copy
of the message to the 'moderator'.
- Send an email to an alias and it reads an Access Database to produce a
list of email addresses. That is then emailed to
the sender.
- Emails come into the company on a published email address such as
[EMAIL PROTECTED] and then it sends it to a
clerk that is in that group that has the longest time since receiving a
message. Thus the email work load is distributed
in a round robin pattern amongst all of the clerks.
-Bill Doyle
----- Original Message -----
From: "Grant Griffith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 16, 2000 3:04 PM
Subject: Re: [IMail Forum] Imail Program Alias Problems!
> Robert,
>
> Went out and did that also. Still no reponse, just sits in the task
manager. This script has no user interaction, therefore should not bring up
any windows. I did also create a script that shows msg boxes as to where it
is at, but none of them come up when running that either. I am going to try
logging to a file now and see if I even hit the first execution!
>
> Grant Griffith
>
>
> ---------- Original Message ----------------------------------
> From: "Robert Stull" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Sun, 16 Jan 2000 00:51:30 -0500
>
> >Grant,
> >
> >Does your app create any windows? Try setting SMTPD32 to run interactive
> >with the desktop. Use the NT services control panel in the startup
settings
> >(not at an NT box right now or I'd give you the exacts). Then start and
stop
> >the server and run your test. This should show if your app is trying to
> >start a window.
> >
> >Bob
> >
> >----- Original Message -----
> >From: Grant Griffith <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Sat, 15 Jan 00 09:11
> >Subject: Re: [IMail Forum] Imail Program Alias Problems!
> >
> >
> >> Just great! I hope they respond back via the support group with better
> >news. I need to get this script working ASAP!
> >>
> >> Thanks for the info!
> >>
> >> Grant Griffith
> >>
> >>
> >> ---------- Original Message ----------------------------------
> >> From: <[EMAIL PROTECTED]>
> >> Reply-To: [EMAIL PROTECTED]
> >> Date: Sat, 15 Jan 2000 07:51:01 -0500
> >>
> >> >Grant:
> >> >
> >> >I had this very same problem two weeks ago and never could get it to
> >work.
> >> >I was trying to set up a gateway and the news server and IMail just
would
> >> >not communicate even though the mail log indicated that mail was
> >processed.
> >> >It just vanished in to thin air. Tech support worked with me for a
week
> >and
> >> >we never could iron it out. Not sure if this is an IMail probelm or a
> >> >problem on the other end.
> >> >
> >> >Anthony
> >> >
> >> >
> >> >----- Original Message -----
> >> >From: "Grant Griffith" <[EMAIL PROTECTED]>
> >> >To: "IMail" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> >> >Sent: Friday, January 14, 2000 11:28 PM
> >> >Subject: [IMail Forum] Imail Program Alias Problems!
> >> >
> >> >
> >> >> Hello All,
> >> >>
> >> >> I was wanting to check and see if anyone else was having problems
> >> >getting program aliases to run. I have created a VB Application that
I
> >want
> >> >to run when an e-mail is sent to this alias. However, when I send the
> >> >message to the alias, the program shows up in the Task Manager, but
never
> >> >executes and just sits there. I can not end the process either. It
is
> >like
> >> >it goes into the que and does nothing.
> >> >>
> >> >> I know the application works becuase if I run it from the command
> >> >prompt the program runs correctly.
> >> >>
> >> >> Any Ideas?
> >> >> Thanks,
> >> >> Grant Griffith
> >> >>
> >> >> Please visit http://www.ipswitch.com/support/mailing-lists.html
> >> >> to be removed from this list.
> >> >>
> >> >
> >> >Please visit http://www.ipswitch.com/support/mailing-lists.html
> >> >to be removed from this list.
> >> >
> >> Please visit http://www.ipswitch.com/support/mailing-lists.html
> >> to be removed from this list.
> >>
> >
> >Please visit http://www.ipswitch.com/support/mailing-lists.html
> >to be removed from this list.
> >
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.