check your firewall or your proxy server setting by passing proxy server may

serve the purpose. it may have  blocked your IP.

-- 
Regards
Deepankar
http://axgeek.blogspot.com/

On 6/23/08, nageshsinha <[EMAIL PROTECTED]> wrote:
>
>   Hello everyone,
>
> I want to send mail to my yahoo account from axapta. I wrote the
> following code
>
> Sysmailer mailer;
> ;
>
> mailer = new sysmailer();
> mailer.fromAddress("[EMAIL PROTECTED] <abc%40mycomp.com>");
> mailer.tos().appendAddress("[EMAIL PROTECTED] <abc%40mycomp.com>");
> mailer.subject("Hi");
> mailer.body("Hi");
>
> mailer.SMTPRelayServer("mail.mycomp.com");
> mailer.attachments().add(@"D:\Test\Test.txt");
> mailer.sendMail();
>
> It works fine for our intermail mail, but when I try to send it to
> my personal account, say, [EMAIL PROTECTED] <abc%40yahoo.com> or
> [EMAIL PROTECTED] <abc%40hotmail.com>, it gives
> the following error
>
> Error:
> Method 'send' in COM object of class 'CDO.Message' returned error
> code 0x80040211 (<unknown>) which means: <unknown>.
>
> Can anyone help me to come out of this problem.
>
> Thanks in advance
>
> 
>


[Non-text portions of this message have been removed]

Reply via email to