Dear All,
For 1-2 days I went through some stuff about SMTP servers and I found the
James Apache SMTP server a good choice for my testing. It seems my IP
Address has not been added to the MTA of the SMTP Server. Thus, this will
take some permissions and thus some time before I can do that.
When I
As what meant (was meaning) your "network" doesN'T Alow local mail
sending. You have to find out the Secure Polititians with the net
administrator / infra-structure staff.
Try to deploy the App (.WAR) in a Test Server (or even Production/Official
Server). So, test mailling sending within these
Hi,
I did that as you suggested. It gave me this response:-
C:\>ping smtp-auth.iitb.ac.in
Pinging smtp-auth.iitb.ac.in [10.200.1.125] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 10.200.1.125:
Packets: Sent = 4, Rece
Hi,
Yes I am sending my mails from my localhost machine but it is in my
institution network. I have the host name, ID/PWD but this does not seem to
work correctly.
I am getting certain that this is a networks/admin/permissions issue and not
a programming issue now.
Any comments ?
Thanks & Rega
Oh, Jetesh
Are u trying to execute it "locally (from localhost/your computer) and are
your computer connected within a coorporate network??!
Maybe, Mail Sending from Desktop (localhost) within your network.
I'm gonna tell u my cas/instance: Here where I work, my App running from
localhost c
Hi,
Thanks for your reply. The smtp-server name seems to be fine. For
authentication, I enter only the username and password.
Though username/password are correct(this is my mail id/password for this
institution), I am getting a feeling that the code is fine but there is some
issue in the credent
Hi,
Many thanks for your reply(Also for the usage of your code on my other email
id:-jiteshbdun...@gmail.com :) ).
I implemented the code that you told me to add:
Code is as follows:-
--
import javax.mail.*;
import javax.mail.internet.*;
import javax.mai
Yeah, I agree!! :D
If your MailServer requires Autentication, u must implement it in your
routine code.
But, anyway u'ld better use mailing from (Apache) Commons. It's pretty
easier and natural to use.
Hope helping,
Ice-Man
2009/7/21 Mick Timony
> I see two problems.
>
> The first is t
I see two problems.
The first is this:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 554 <
jit...@it.iitb.ac.in>
: Relay access denied
It's not recognising your credentials, so either your username/password is
inco
What You need is to write code responsible for using ssl withjavamail
api:
For instance, for gmail, ssl port is 465:
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
//props.put("mail.smtp.debug", "true");
props.put("mail.smtp.socketF
Hi Frends,
I changed the port to 25 as this is the one used for sending emails. Now I
am getting this error:-
C:\Program Files\Java\jdk1.5.0_10\bin>java Mailer
There was an error in sending the mail. Please check the username, password
and
the mail-server information provided
javax.mail.SendFail
Hi,
This is another way I was trying to send my mail. Maybe you could help me
out here.
We have an SMTP server(server name and other details are available). I am
trying to send my mail via this server (and not gmail this time).
However, the code is compiling fine but gives a runtime error.Please
12 matches
Mail list logo