Hi All
I am using Poco 1.3.1 C++ portable components. I am trying to send mail to some Gmail Id. I am using SMTPClientSession::sendMessage() function to send mail. I have set different parameters before calling sendMessage() function as specified in the sample program Mail.cpp. When I execute sendMessage() it throws an exception "{"Recipient rejected: <xxx@gmail.com>: 550 5.7.1 Unable to relay for xxx@gmail.com"
If I try to send mail from a machine s158344@abc.com to mail Id xxx@abc.com, i.e. within same domain, there is no such problem. I get mail to Id xxx@abc.com
Does anyone know the reason for this behavior? Am I missing something here?
Thanks in advance
Subrahmanya
~ Masked email addresses from those pesky spambots + moved from PocoMail ... Eric ~