문제

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