ravibpatel / CrashReporter.NET

Send crash reports of your classic desktop application developed using .NET Framework directly to your mail's inbox with full exception report, stack trace and screenshot.
MIT License
184 stars 74 forks source link

Not getting Mail if i set AnalyzeWithDoctorDump= "false". #4

Closed koushik077 closed 7 years ago

koushik077 commented 7 years ago

If i set AnalyzeWithDoctorDump as false i am not getting mail. @ravibpatel

ravibpatel commented 7 years ago

Try it like this.

var reportCrash = new ReportCrash
{
    AnalyzeWithDoctorDump = false,
    SmtpHost = "smtp.gmail.com",
    Port = 587
    EnableSSL = true,
    UserName = "Your Gmail Account Email",
    Password = "Your Gmail Account Password",
        ToEmail = "Email address where you want receive crash reports",
    FromEmail = "Any Email you want",
    DeveloperMessage = developerMessage,
};
koushik077 commented 7 years ago

I tried that but i am getting following error: creporter_error

ravibpatel commented 7 years ago

Can you try following steps.

Allowing less secure apps to access your account

koushik077 commented 7 years ago

I got the same error after allowing less secure apps to access my gmail account. Please help me in this issue

ravibpatel commented 7 years ago

Try 587 in Port.

koushik077 commented 7 years ago

Yeah it worked. Thanks