Problem in sending mail

I’m having some problems when sending a newsletter with Servoy.
Most of the sending problems were related to incorrect email addresses, and I think they’re solved, now.
But I also had this error and I’d like to know what it means:

2005-12-19 23:10 : SMTPSend Can't send command to SMTP host; nested exception is: java.net.SocketException: Broken pipe

2005-12-19 23:10 : javax.mail.MessagingException: Can't send command to SMTP host;
  nested exception is:
	java.net.SocketException: Broken pipe
	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1307)
	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1295)
	at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:584)
	at javax.mail.Transport.send0(Transport.java:153)
	at javax.mail.Transport.send(Transport.java:80)
	at com.servoy.r2.plugins.mail.MailServer.sendMail(MailServer.java:226)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

What can be causing it?
[/code]

Hi Riccardino,

Maybe I am stating the obvious but did you check the log of your mail server as well ?
It might hold more info that can narrow down the problem.

Hope this helps.

ROCLASI:
Hi Riccardino,

Maybe I am stating the obvious but did you check the log of your mail server as well ?
It might hold more info that can narrow down the problem.

Hope this helps.

It has been checked by the administrator, when they first noticed the issue but another look at that can be a good idea.

Thanks, Robert

java.net.SocketException: Broken pipe, is some thing very low level in your network (like bad wiring)

Jan Blok:
java.net.SocketException: Broken pipe, is some thing very low level in your network (like bad wiring)

I’ll investigate this. Anyway, the problems seems to be solved avoiding to place a large array of addresses in the bcc section e launching a loop, instead.

Thanks

hi

suddenly i cold not mail anymore in the log of servoy i get

2006-01-31 10:48 : SMTPSend Could not connect to SMTP host: relay.skynet.be, port: 25; nested exception is: java.net.ConnectException: Connection timed out

there is nothing changed in servoy so why doent it works anymore

“Connection timed out” means bad internet connection, has nothing todo with Servoy

Looks like the SMTP server is not reachable.
This can be due to routing problems or the SMTP server is down (for maintenance perhaps).
Can you send emails with a regular email app thru that server?

i have wait a day but if the server was down, it must be up by now bu still i get the same error

java.net.ConnectException: Connection timed out

i can send mails with my regular email app

Are you sure you configured the mail server correctly in the adminpage or did you hardcode one in your script? (hardcode is possible, mail server from admin page is only used when nothing in code is specified)
As far as I can see the mail plugin is working fine it only tries to talk to a non existing server/port

Yo Arnold ahum Fritsyrules (not quiet),

als je poort 25 gebruikt op skynet:

Precisely one year ago, to combat the continuous growth in the number of viruses and spam that ended up in its’ customers mailboxes, Belgacom launched “Skynet Mail Protection.” For Belgacom ADSL Skynet Go and Plus customers, this antispam and antivirus solution (at the network level) comes with the subscription. Thanks to this application, a total of 1,1 billion viruses and unwanted e-mail were blocked at their source.
Belgacom expects this figure to increase further and is therefore taking additional measures. Virus creators and spam senders now work together regularly: viruses gain control over a large number of computers, paving the way for spam senders, who then use the computers to send the unwanted e-mail. Innocent customers thus fall victim to this new type of crime. For this reason, Belgacom is now activating Skynet Mail Protection automatically for all ADSL GO/Plus customers. This will limit the number of infected computers considerably. Belgacom is also blocking “Port 25” for outgoing traffic, in order to prevent the PCs of Belgacom customers from being used to send viruses and spam.

Ik denk dat je best eens kijkt op je mail client welke poort daar ingesteld staat.

See ya