Article View: borland.public.jbuilder.java.api
Article #684Re: Problem with Javamail!!
From: Owen Green
Date: Mon, 03 Feb 2003 12:27
Date: Mon, 03 Feb 2003 12:27
20 lines
1708 bytes
1708 bytes
"Bartek / Prao hos DataPartner AB" <prao1@dpab.net> wrote in message news:3e3e5447@newsgroups.borland.com... > It's like this, i have a problem when I'm trying to send a mail. I can only > send mail to an adress that's on the mailserver i have writen in the source > code. If i try to send a mail to an adress that's not located at the > mailserver I get this error: > Sounds to me like the SMTP server is unwilling to relay the message for you. There are two obvious reasons (and probably a host of not so obvious ones :) - The SMTP server doesn't like the From address you've used (e.g it's configured only to relay mail from its own domain) - It can't find an MX record for the reciepient. Anyway, looks like an issue with the SMTP server and not JavaMail. hth Owen
Technical Details
Message-ID:
<3e3e606a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3e3e5447@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,f1f1dbef7e58d0b4 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-02-03 04:35:11 PST From: "Owen Green" <owen@begonefoulmachine.kennulz.demon.co.uk> Newsgroups: borland.public.jbuilder.java.api References: <3e3e5447@newsgroups.borland.com> Subject: Re: Problem with Javamail!! Date: Mon, 3 Feb 2003 12:27:00 -0000 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 62.253.133.169 Message-ID: <3e3e606a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1044275306 62.253.133.169 (3 Feb 2003 04:28:26 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail