Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SMPT & TWEBMIODULE

0 views
Skip to first unread message

john

unread,
Apr 25, 2001, 11:30:28 AM4/25/01
to
Can I use a TidSMPT on the TWebModule. It compiles but I can;t seem to get
it to send. The same code works great through a standard application.

Should I experience any problems?


Hadi Hariri - Team Indy

unread,
Apr 25, 2001, 3:11:36 PM4/25/01
to
jfl...@webdatabases.co.uk (john) wrote in <3ae6ed42_2@dnews>:

>Can I use a TidSMPT on the TWebModule. It compiles but I can;t seem to get
>it to send. The same code works great through a standard application.

Yes you can. What is the exact problem?


Allen - Team Indy

unread,
Apr 25, 2001, 8:38:48 PM4/25/01
to
Check the CGI_Mailer in the Indy demos - there is a new version available
from the indy website.

/A.


"john" <jfl...@webdatabases.co.uk> wrote in message
news:3ae6ed42_2@dnews...

john

unread,
Apr 26, 2001, 4:51:01 AM4/26/01
to

> Yes you can. What is the exact problem?
>
>

Very Simply. The code below works through a standard app but in the
TWebModule It hits the except clause. I'm pulling my hair out to get it to
connect is there any obvious tests I can do that I'm missing. Is It IIS? I'm
running through Windows2000 Pro.

MySmpt1.Host := 'mail.company.co.uk';
MySmpt1.UserID := 'jimmy.company.co.uk';
MySmpt1.Password := 'xxxx';
try
MySmpt1.Connect;
except
Response.Content := 'NOT CONNECTED'
end;


Kudzu - Team Indy

unread,
Apr 26, 2001, 5:26:36 AM4/26/01
to
jfl...@webdatabases.co.uk (john) wrote in <3ae7e118_1@dnews>:

>Very Simply. The code below works through a standard app but in the
>TWebModule It hits the except clause. I'm pulling my hair out to get it to
>connect is there any obvious tests I can do that I'm missing. Is It IIS? I'm
>running through Windows2000 Pro.

Its quite likely a permissions problem. You are probably accessing a file or
other action that you are not allowed to do under the account that the
scripts is executing under.

--
Chad Z. Hower (Kudzu) - Church Hill, TN - Team Indy
"Programming is an art form that fights back"
Forget the Y2K problem, Lets fix the W2K problem.
http://www.pbe.com/Kudzu/ - Free Delphi/CBuilder components and articles

0 new messages