I was trying to send mail to my gmail id using apche james but i am getting this error
Requested action not taken: relaying denied
What could be the reason for this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If this is still relevant to you, you need to do further configuration in your config.xml, especially important would be to define a DNS server. and the relay-mailet.
On another (but important) note:
If you’re trying to send to gmail from a dynamic IP (like most people have), gmail will probably deny your request on the grounds of you being a possible spammer.
A static IP-address is mostly needed for actions like this.