2

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?

Sumit Jain
  • 1,484
  • 2
  • 25
  • 44

1 Answers1

2

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.

random_error
  • 365
  • 4
  • 16