Groups | Blog | Home
all groups > iis smtp nntp > august 2004 >

iis smtp nntp : Ilopia and CDO#2


Joe
8/29/2004 12:30:25 PM
Hello,Kristofer and friends

I do thank you for your help in my last attempt to get the
CDOSYS to work via the crash course on Ilopia.com.
(or any other script for that matter)

I have abandoned it again for other projects that I have
just finished. However I am back and I need to ask a
question here that maybe the "missing Link"

Does the IUSR_<machinename> account have to be added to
the CDOSYS.dll to work?

I have not tried it so I thought I would ask first. The
URL to refresh your Memory is www.animocracy.com click on
the "Link"

1)OS Server 2003
2)SMTP is installed and stopped (and visible in IIS)
3)Third-party mail server works fine
4)all on same box
5)all other asp apps work including another asp mail
program by Dundas.

Thanks a ton
Joe
8/29/2004 1:54:25 PM
Thanks Kris for the reply

I am going to need a little instruction here.

I am going to create the page or pages again?

This maybe the error

1)How do you create the pages?

2) THere is nothing in the mail server logs,que so I do
not think the code is correct (on my part)

I am not sure how to set up the pages from your site.

Do you copy the code first and save it?
What do you save it as and where is this page >>
EmailWithCDO.asp

I think this will get it

thanks
Joe


[quoted text, click to view]
Joe
8/29/2004 2:18:19 PM
thanks Kristofer I will give it a go and try in alittle
while. Gotta go out for an hour or so...
Thanks
Joe
[quoted text, click to view]
Joe
8/29/2004 6:48:05 PM
Well....
It is a factor of the truth I will not be able to send
mail like this. I have copied and recopied the code and to
no avail.
I have no Idea why this will not work? It is a complete
and utter mystery?
If you go here Kristofer
http://animocracy.com/SendHtmlEmail.asp
on the same site and same server you will get the mail. I
do not know why?
You can go here and Login
Https://slovaun.com:32001/mail and view my webmail and
this works fine.
I can upload files using asp and all other apps but not
this one. (CDO)

I have a webpage that emails back your username and
password also with asp using the VB script and Schemas
this works also.
My domains are fine and the PTR is set. I have had it this
way for over a year now.
I do not know what else to do?
If you go back to the form on my site and fail to fill in
the fields you will get an error so something is getting
lost?

All I can say is thanks and sorry to bother you
Joe

[quoted text, click to view]
Joe
8/29/2004 7:29:24 PM
ok I am not crazy here?

But I just started the MS SMTP and changed the port to 367
and the mail in now being sent.
Does anyone have a clue whY??
WOW this is MOST wierd
Joe
[quoted text, click to view]
Joe
8/29/2004 9:05:36 PM
Ok now the mail is getting stuck in the que and i cannot
get it to mail outside my domains like MSN.com
Here is a message that is still in the queue

Received: from mail pickup service by slovaun.com with
Microsoft SMTPSVC;
Sun, 29 Aug 2004 23:39:21 -0400
Thread-Topic: testing after opening port 367
thread-index: AcSOQu/qsrsS1aKZRJ62I1R2BEhoqw==
Sender: <JVoldeck@Immoralbalance.com>
To: <Joseph_Voldeck@msn.com>
Subject: testing after opening port 367
Date: Sun, 29 Aug 2004 23:39:21 -0400
Message-ID: <000001c48e42$efef7550$9137a40c@timemachine>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
X-OriginalArrivalTime: 30 Aug 2004 03:39:21.0968 (UTC)
FILETIME=[F00E6F00:01C48E42]


Nothing really in the logs
Thank you
Joe

Port 367

[quoted text, click to view]
Kristofer Gafvert
8/29/2004 10:43:52 PM
Hello,

What is the content of EmailWithCDO.asp?

Can you please try to copy everything in the first example (on ilopia.com),
and save it as EmailWithCDO.asp. Does it work now?

You are using a third-party email server, right? Since we are not getting
any error message in the browser, i suppose that we can assume that there is
a contact with the SMTP server. So, can you please check the queue folder,
and other folders the email server uses, and see if you can find the
messages that was posted from the asp-page.

[quoted text, click to view]

No, that should not be necessary.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


[quoted text, click to view]

Kristofer Gafvert
8/29/2004 10:55:26 PM
So, i want to make sure that the page you are trying to send email from has
this code:

http://www.ilopia.com/temp/emailwithcdo.txt

But the extension should be asp on the file (so the filename is
EmailWithCDO.asp). Try then to send an email again.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


[quoted text, click to view]

Kristofer Gafvert
8/29/2004 11:08:21 PM
Copy the code that is located here:

http://www.ilopia.com/temp/emailwithcdo.txt

And save it as EmailWithCDO.asp on the webserver.

Then try again, to write an email, using the webpage you just created (so
browse EmailWithCDO.asp)

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


[quoted text, click to view]

Joe
8/30/2004 6:47:51 AM
Ok mail is not in the MS SMTP queue anymore
and I have tried to send mail to my MSN account and it
will not.

I then tried the other asp app from Dundas which you may
have tried?
It made it to MSN
Here is the header:

MIME-Version: 1.0
Received: from Slovaun.com ([12.164.55.145]) by mc3-
f7.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Mon,
30 Aug 2004 06:19:13 -0700
Received: from local.com ([12.164.55.145]) by Slovaun.com
(LodeStar Mail System) with SMTP id LTA74639 for
<Joseph_Voldeck@msn.com>; Mon, 30 Aug 2004 09:18:52 -0400
X-Message-Info: 6sSXyD95QpXG3deBM0o7/q+QAlPLYstt
X-Mailer: Dundas Mailer Control 1.0
Return-Path: Jvoldeck@
Message-ID: <MC3-F7w3vmtBHP14vig000658c6@mc3-
f7.hotmail.com>
X-OriginalArrivalTime: 30 Aug 2004 13:19:13.0154 (UTC)
FILETIME=[F1381E20:01C48E93]
***********************************************************
Notice the X-mailer Dundas control 1.0
This works

Ok, So I tried it with my main account from OE

Here is the header:
MIME-Version: 1.0
Received: from Slovaun.com ([12.164.55.145]) by mc3-
f33.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824);
Mon, 30 Aug 2004 06:35:38 -0700
Received: from timemachine ([12.164.55.145]) by
Slovaun.com (LodeStar Mail System) with SMTP (SSL) id
LTA74639 for <Joseph_Voldeck@msn.com>; Mon, 30 Aug 2004
09:35:38 -0400
X-Message-Info: JGTYoYF78jH8jgeDxBdL9/pCgBEHzrVv
Message-ID: <001101c48e96$3c773360$9137a40c@timemachine>
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.181
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Return-Path: Jvoldeck@.com
X-OriginalArrivalTime: 30 Aug 2004 13:35:38.0879 (UTC)
FILETIME=[3CC1D0F0:01C48E96]

I removed my real address in the return path. But it did
show up.

I also sent to Aol and Netscape which is a real test
because they have PTR's set for mail and they go through
using Dundas and OE and My email/password page on my web.

Ok food for thought.
All of the apps that work for me have two pages involved.
One, the main HTML or asp and the processing asp page for
instance the Dundas that works has two pages to send the
mail. The other pages that email back your password also
have two proccessing pages. e.g SendMail.asp and
SendMail_Process.asp

FrontPage forms also mail and you know how much of a pain
they can be.

This is a good one. Or bad one depending upon how we look
at it?
I sent you an email via the new coded cdo form tell me if
you get it?

Thanks a lot! I appreciate every minute of your time
Joe
[quoted text, click to view]
Joe
8/30/2004 7:12:29 AM
Ok thanks
Do you have any Idea why MSN is not recieving it from this
form?
Joe
[quoted text, click to view]
in
Kristofer Gafvert
8/30/2004 9:12:13 AM
Hello,

Can you please try this code instead:
http://www.ilopia.com/temp/emailwithcdo2.txt

(You should still save the asp-file as EmailWithCDO.asp)

But replace 192.168.0.60 with the IP of the emailserver (i think that
localhost will work as well, but not completely sure).

Looks like CDO is placing the email in the pickup folder when the email
server is not specified, and that pickup folder seems to be the pickup
folder for the Microsoft Windows SMTP Server. Then the email was moved to
the queue folder, and was ready to send. I suppose that we could have done
this if we want to, and maybe use a smart host, or found out why it did not
send the email.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


[quoted text, click to view]

Joe
8/30/2004 9:35:49 AM
Yes I will try

and yes the domain is Slovaun.com
But they are all on the same box
host heders ;)
[quoted text, click to view]
JOe
8/30/2004 9:39:16 AM
Kristofer,

The Dundas application seems to work different, and does
not use your SMTP
server. It seems to connect directly to the remote SMTP
Server.


Kris I think it does because the host header shows it teh
only thing that is different to me is the mailer the
return path is the same.

Joe
[quoted text, click to view]
Kristofer Gafvert
8/30/2004 4:03:36 PM
Yes, i got the email. So i suppose it is working now.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


[quoted text, click to view]
Kristofer Gafvert
8/30/2004 4:55:42 PM
When sending from Outlook, is the return-path the Slovaun.com domain? The
only thing i can think of is that MSN is checking the sender/return-path to
make sure that the domain match the domain of the email server, to reduce
the amount of spam that is received.

In the CDO application, can you please try to write an slovaun.com account
in the From field.

Other than that, i have no idea.

The Dundas application seems to work different, and does not use your SMTP
server. It seems to connect directly to the remote SMTP Server.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


[quoted text, click to view]
AddThis Social Bookmark Button