By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,403 Members | 891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,403 IT Pros & Developers. It's quick & easy.

Need help with CDONTS or other object to receive mail in a specific way

P: n/a
Hello,

Is it possible to write a script using CONDTS object to read all emails from
the SMTP IIS "Drop" folder without changing the username and email address
in LogonSMTP? or is there completely another way to do it. Here is what I
want exactly the program to do:

I just want to have one script that will be able to pickup and read all
emails that arrive regardless of the email prefix. For example, I want the
script to read: R3****@email.com , UH****@email.com , VM****@email.com in
one run. As you notice, the email prefix is a special code that I will want
to extract from every email received. Each email received will have an
attachment that I will store in the database together with the code from
each email prefix.

I will be very grateful for your help. If you know how, please could you
write me a little code so that I get some clue and be able to understand how
to use it.

I program with VBScript, and have own Windows 2003 server with IIS.

Thank you very much.
Vanessa
Feb 24 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
the SMTP is the outgoing mail folder, not incoming.

anyway, you can add a SMTP filter to catch the email as they are sent and
check for what you want.

-- bruce (sqlwork.com)


"Vanessa Lee" <va******@yahoo.com> wrote in message
news:M_********************@comcast.com...
Hello,

Is it possible to write a script using CONDTS object to read all emails
from
the SMTP IIS "Drop" folder without changing the username and email address
in LogonSMTP? or is there completely another way to do it. Here is what I
want exactly the program to do:

I just want to have one script that will be able to pickup and read all
emails that arrive regardless of the email prefix. For example, I want the
script to read: R3****@email.com , UH****@email.com , VM****@email.com in
one run. As you notice, the email prefix is a special code that I will
want
to extract from every email received. Each email received will have an
attachment that I will store in the database together with the code from
each email prefix.

I will be very grateful for your help. If you know how, please could you
write me a little code so that I get some clue and be able to understand
how
to use it.

I program with VBScript, and have own Windows 2003 server with IIS.

Thank you very much.
Vanessa

Feb 25 '06 #2

P: n/a
SMTP is not a folder, and yes you can receive as well as send emails using
SMTP protocol from IIS

"Bruce Barker" <br******************@safeco.com> wrote in message
news:e8**************@TK2MSFTNGP15.phx.gbl...
the SMTP is the outgoing mail folder, not incoming.

anyway, you can add a SMTP filter to catch the email as they are sent and
check for what you want.

-- bruce (sqlwork.com)


"Vanessa Lee" <va******@yahoo.com> wrote in message
news:M_********************@comcast.com...
Hello,

Is it possible to write a script using CONDTS object to read all emails
from
the SMTP IIS "Drop" folder without changing the username and email address in LogonSMTP? or is there completely another way to do it. Here is what I want exactly the program to do:

I just want to have one script that will be able to pickup and read all
emails that arrive regardless of the email prefix. For example, I want the script to read: R3****@email.com , UH****@email.com , VM****@email.com in one run. As you notice, the email prefix is a special code that I will
want
to extract from every email received. Each email received will have an
attachment that I will store in the database together with the code from
each email prefix.

I will be very grateful for your help. If you know how, please could you
write me a little code so that I get some clue and be able to understand
how
to use it.

I program with VBScript, and have own Windows 2003 server with IIS.

Thank you very much.
Vanessa


Feb 25 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.