wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes JavaMail error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply locked New topic
Author

JavaMail error

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
My program is sending more than 20,000 emails of different categories but fails with only two categories that have 430 emails and 450 emails with the following two errors. What should I do?

1) com.sun.mail.smtp.SMTPAddressFailedException: 553 we don't relay (#5.7.1)

2) javax.mail.SendFailedException: Invalid Addresses; nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 553 we don't relay (#5.7.1)

Thanks & best regards
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Your mailserver is blocking your emails - you are not allowed to use it for sending. Contact the administrator for it to allow you to send emails from your program.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Rob Prime:
Your mailserver is blocking your emails - you are not allowed to use it for sending. Contact the administrator for it to allow you to send emails from your program.


I have dedicated server and it may not be the exact problem as I am sending everyday more than 20,000 emails from the same server.

2. If you are sure then please let me know how can I change the setting as my dedicated server not block the emails

thanks & best regards
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

How are you sending these other 20.000 emails? Also through Java?

If it is a local server than you may have to log into the server before being able to send?

What I also noticed one time is that my work SMTP server does allow me to send emails - but only internally. Externally it's still blocking me. Perhaps that is the case for you as well?
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Rob Prime:
How are you sending these other 20.000 emails? Also through Java?

If it is a local server than you may have to log into the server before being able to send?

What I also noticed one time is that my work SMTP server does allow me to send emails - but only internally. Externally it's still blocking me. Perhaps that is the case for you as well?

sorry for late reply

This is not the case. the whole emails are going out except one/two categories. I am sending the whole 20k plus emails through JavaMail

Anything else please?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

"siva sm",

I asked this in your other thread as well, but you may have missed it.

Please read your private messages regarding an important announcement.

Thank you,

Rob
pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
Hi Farakh khan
I think you are sending bulk mails.Am i right?
Actually I have assigned a project among these 2 i.e. bulk mail or bulk sms.Could you help me to tell about them in detail and also how to start ?I dont know anything about them right now.I googled but could not succeed.Please help me.
In bulk mail,i have to send a mail to many at a time .And in bulk sms ,similar i have to send a sms to many.

I am asking you because i think you are doing same think which i have to do?So please guide me in making this project.


SCJP 5.0(75%), SCWCD 5.0(88%)
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by pradeep singh:
Hi Farakh khan
I think you are sending bulk mails.Am i right?
Actually I have assigned a project among these 2 i.e. bulk mail or bulk sms.Could you help me to tell about them in detail and also how to start ?I dont know anything about them right now.I googled but could not succeed.Please help me.
In bulk mail,i have to send a mail to many at a time .And in bulk sms ,similar i have to send a sms to many.

I am asking you because i think you are doing same think which i have to do?So please guide me in making this project.


I am not sending the bulk mails as I have a website that have more than 20,000 members. I have to send them newsletter and this have very clear unsubscribe option

best regards
pradeep singh
Ranch Hand

Joined: Oct 23, 2007
Posts: 339
[Hijack removed]
[ August 29, 2008: Message edited by: Bear Bibeault ]
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by pradeep singh:
[Hijack removed]

[ August 29, 2008: Message edited by: Bear Bibeault ]


???
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Probably pradeep posted something completely unrelated to your problem, and Bear has removed that.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Rob Prime:
Probably pradeep posted something completely unrelated to your problem, and Bear has removed that.


I again request to solve my problem
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Closed pending investigation.
 
jQuery in Action, 2nd edition
 
subject: JavaMail error
 
Similar Threads
JavaMail Error...
Error in send Mail using Java Mail
Sending Email in java through MS Exchange Server
Sending Email using Java gives error message
cannot send email through Outlook