smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
582 stars 178 forks source link

SMTP Authentication Error #104

Open chinthaka opened 11 years ago

chinthaka commented 11 years ago

When I am using MvcMailer 4.5, I can send emails. When I use version 3 (due to compatibility issues with other system) I am getting following error.

"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required"

Even when I try to use following, I am getting same error.

`

    <specifiedPickupDirectory pickupDirectoryLocation="C:\Works\Tmp\Test App\Emails\"/>
  </smtp>`

My Google credentials are correct.

Can you please help me on this ?

Thanks in advance.

ghost commented 10 years ago

Why is your host "localhost"? should it not be "smtp.gmail.com"