-1

My script is about sending notfication email, and it was running well on my local machine, but when I removed it to an server 2k3, the email cannot be sent out with below error log:

Exception calling "Send" with "1" argument(s): "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was
 not authenticated"
At line:1 char:19
+ $smtp_buglist.Send <<<< ($mail_buglist)
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

Please help me out of this, I am confused.

1 Answer 1

2

I worked this out, the thing I need to do is to mark $send.UseDefaultCredentials as "True"

1
  • Glad you resolved this issue. Please be sure to mark your answer as "accepted" when you are able.
    – jscott
    Jul 30, 2012 at 23:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .