Not getting Mail if i set AnalyzeWithDoctorDump= "false".
koushik077 opened this issue · 6 comments
koushik077 commented
If i set AnalyzeWithDoctorDump as false i am not getting mail. @ravibpatel
ravibpatel commented
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
ravibpatel commented
Can you try following steps.
koushik077 commented
I got the same error after allowing less secure apps to access my gmail account.
Please help me in this issue
ravibpatel commented
Try 587 in Port.
koushik077 commented
Yeah it worked. Thanks