ravibpatel/CrashReporter.NET

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

koushik077 opened this issue · 6 comments

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

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,
};

I tried that but i am getting following error:
creporter_error

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

Try 587 in Port.

Yeah it worked. Thanks