Pregunta
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?
Solución
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.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow