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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top