ok, my net administrator give me the address to connect to ours smtp mail server:
address: 172.16.3.6
port: 25
it have no user and no password.
Debugging source, i have seen that, when i use "smtp.Login()" it arrives at unit "blcksock", and it execute
procedure TBlockSocket.Connect(IP, Port: string);
In this procedure, after the execution of
SockCheck(synsock.Connect(FSocket, Sin));
i have FLastError = 10061
I have also tried to send a mail from DOS Prompt, using telnet and it works fine.
How can i solve?
Thanks in advance, Mario
Il 05/02/2014 17:58, waldo kitty ha scritto:
On 2/5/2014 4:16 AM, Mario Bonati wrote:
Directly to the destination SMTP server, in this case, the google's server
"smtp.gmail.com"
yeah, as noted before, you are likely running into network security that is set
to prevent direct deliveries... this is used in many cases as a spam prevention
measure... in corporate environments, it is used to prevent trade secrets from
being transmitted outside the company without approval...
as also noted, you should consult with your network admin on how your app should
connect to the company SMTP server so that it acts like a smarthost to deliver
the mail to the next SMTP server up the line toward the final destination...
2014-02-05 waldo kitty <[email protected] <mailto:[email protected]>>:
On 2/5/2014 2:29 AM, Mario Bonati wrote:
> Hi,
> i'm using the code described here
http://www.lazaruspascal.it/index.php?page=8
> to send emails with Lazarus.
> It works fine at home on Win7 and Ubuntu, but here at work, on WinXP i have
> problems. I think that the problem is that here at work there is a proxy
server.
to send emails where? to a local SMTP server for "smarthost delivery" or
directly to the destination SMTP server? since it is failing at work, i suspect
that they are not allowing email out unless it goes thru their internal SMTP
server first... this is a normal security setup... there may also be
authentication needed... again, this is a normal security setup... i qouls
suggest that you speak with your network admin and find out what you need to do
for your tool to be able to send email from your work location...
|
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public