Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: beating my head against the wall with SMTP mail

www.cryer.info
Managed Newsgroup Archive

Re: beating my head against the wall with SMTP mail

Subject:Re: beating my head against the wall with SMTP mail
Posted by:"Brian Cryer" (bria..@127.0.0.1.activesol.co.uk)
Date:Fri, 2 Mar 2007 12:34:18

"Larry" <lkillen@charter.net> wrote in message
news:45e6235e@newsgroups.borland.com...
> Last year I created a small program that runs twice a day and sends out
> three reports as PDFs to a selection of executives at a poultry plant.
> Works without a hitch.
>
> We won a contract at one of their other plants and they requested the same
> automatic reporting.  I pulled up the old app, adjusted a few lines of
> code, installed it in the scheduler and expected it to work.  It does not.
>
> This other plant uses the same corporate SMTP mail server.  The only
> difference is that it is running on another computer at another
> geographical location.  On that computer, I brought up Outlook Express and
> tested the account and was able to send myself E-mail to the designated
> SMTP account that they provided us.
>
> I then stripped down the program to its barest essentials and installed on
> the clients computer.  Still no go.  I run this version on my own computer
> (using a test SMTP account provided by my network admin) and it runs
> without a hitch.  It is an empty report with a label stating "I AM HERE".
> Nothing else.
>
> I had their coporate webmaster try to see if he could detect may mail
> hitting the SMTP server.  He was not very sure on how to do this.  They
> use "Mitel Networks SME Server V5".
>
> The computer does not have any antivirus software directly installed nor
> is it behind a firewall.

I suggest on the pc giving problems use telnet and try to send a simple
email by hand using telnet. That should show fairly quickly whether there is
a firewall in the way that you don't know of and it might reveal the
underlying problem.

> Can someone haelp me trouble-shoot this nightmare?  I would appreciate any
> advise, test app, ideas to figure this one out.

On the Exchange server that we use internally we can configure/limit which
hosts it will relay for. In other words, we can restrict which clients can
send email via it. The default configuration was I think that it would only
accept emails that originated from the server, so no relaying of emails from
a second pc or server. Its possible that this is the problem you have, that
their SMPT server won't relay/deliver emails that originate from your
"troublesome" pc. If that is the case then I would expect the telnet test to
fail - although whether it will silently fail or fail with an error I don't
know.

Hope this helps.
--
Brian Cryer
www.cryer.co.uk/brian

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive