SyncfusionHelpDesk icon indicating copy to clipboard operation
SyncfusionHelpDesk copied to clipboard

Sending email process is not working

Open ghost opened this issue 5 years ago • 22 comments

Hi @ADefWebserver ,

A Customer has reported an issue in Blazor Succinctly series code on enabling email in SyncfusionHelpDesk. We have tried from our end and this can be reproduced. Could you please check and resolve this?

Please refer the below customer reported issue.

hello, i have problems with your ebook BLAZOR, chapter 9 sending email. this option is not working with a new sendgrid account and API KEY and email. 
what could be the problem, i do not get any errors but also no email. 

what should i look at? 

ghost avatar Jul 20 '20 11:07 ghost

I will look into this.

ADefWebserver avatar Jul 20 '20 12:07 ADefWebserver

I just did a test and it worked for me. I will need more information to diagnose this :)

  1. What was the exact error?
  2. What version of Sendgrid was used?
  3. Was the log in Sendgrid checked?
  4. Would the exact SendGrid settings work in a console app ? (could be a firewall issue)

Thank you

ADefWebserver avatar Jul 20 '20 13:07 ADefWebserver

Hi @ADefWebserver,

Customer has updated the requested details. Please find the same below.

hello,  
i just tried the Git version with my email and APIKEY, but also this does not work, no ERROR and no email.  
question, is the admin email (in your book) the same like the email in the sendgrid set-up ? 
 
feedback to your requests,  
1.	no email received and no error message
2.	a new free license version
3.	at SendGrid all looks OK
4.	i’m just using the syncfusion book example
 
what do you recomend to do ?  

sridurgha avatar Jul 23 '20 10:07 sridurgha

@sridurgha Can you zip up your solution and email it to "webmaster at adefwebserver.com"? Thanks!

ADefWebserver avatar Jul 23 '20 13:07 ADefWebserver

question, is the admin email (in your book) the same like the email in the sendgrid set-up ?

No, you should use a real email address for "SenderEmail". The book does not indicate what email address you should use.

ADefWebserver avatar Jul 23 '20 13:07 ADefWebserver

@sridurgha - I just created a new free sendgrid account (previously I used my normal sendgrid account), and it worked.

If you email me at "webmaster at adefwebserver.com" I can send you my project and you can run it and see if it works for you (I suspect firewall issues).

Thank you

ADefWebserver avatar Jul 24 '20 01:07 ADefWebserver

Hi @ADefWebserver,

Customer has updated the below response. Please find the same below.

hi, i don't bring it to fly. in my send-grid account all looks good and OK. (email sender and damain verification)
it would help if you could write down the steps that need to be donne and set-up in send-grid. maybee i set-up a wrong version. 

Another customer has also reported the same issue and we have requested for the zip of their project.

sridurgha avatar Jul 28 '20 08:07 sridurgha

@tonypitwood - I looked at your code and the problem is you have to have a single "{" and "}" not double "{{" and "}}" around the email settings:

image

ADefWebserver avatar Jul 28 '20 16:07 ADefWebserver

emailnotworking3

Even doing that, @ADefWebserver I still don't receive an email, nor an error code Kind regards, Tony

tonypitwood avatar Jul 29 '20 11:07 tonypitwood

Hi @AdefWebserver,

Still doesn’t work?

(followed the manual . . .

I thoroughly enjoyed your course – thank you.

Do you have another that I can get a bit more under my belt before I try developing my Blazor app based on HelpDesk?

Kind regards

Tony

From: ADefWebserver [mailto:[email protected]] Sent: Tuesday, July 28, 2020 6:05 PM To: ADefWebserver/SyncfusionHelpDesk Cc: tonypitwood; Mention Subject: Re: [ADefWebserver/SyncfusionHelpDesk] Sending email process is not working (#5)

@tonypitwood https://github.com/tonypitwood - I looked at your code and the problem is you have to have a single "{" and "}" not double "{{" and "}}" around the email settings:

https://user-images.githubusercontent.com/1857799/88691121-4abe5d80-d0b1-11ea-80a0-285d736f9aa2.png Description: Image removed by sender. image

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ADefWebserver/SyncfusionHelpDesk/issues/5#issuecomment-665128897 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIK4VRWGSURZLQZM3JF4ZU3R53ZKHANCNFSM4PCF7GJA .Description: Image removed by sender.

tonypitwood avatar Jul 29 '20 11:07 tonypitwood

Here's the shot from the manual

emailnotworking4

tonypitwood avatar Jul 29 '20 11:07 tonypitwood

@tonypitwood - I am so sorry, I meant remove all the "{{" and "}}"

image

Please try again. (I will have them update the book)

ADefWebserver avatar Jul 29 '20 13:07 ADefWebserver

Do you have another that I can get a bit more under my belt before I try developing my Blazor app based on HelpDesk?

@tonypitwood - I have more tutorials and sample code on my website at BlazorHelpWebsite.com -Thanks!

ADefWebserver avatar Jul 29 '20 13:07 ADefWebserver

Even removing all the {{}} doesn't cut it 👎 Is there another way I could check if my SendGrid details are working?

tonypitwood avatar Jul 29 '20 14:07 tonypitwood

@tonypitwood - I put my SendGrid key in the code sample you sent me and it did not work. I then downloaded the latest code from this repro, and put in your key (from the code you sent me) and it did work! :) Can you please do the same and confirm? Thanks!

ADefWebserver avatar Jul 29 '20 15:07 ADefWebserver

code from this repro??? Sorry, I don't know the term :(

tonypitwood avatar Jul 29 '20 19:07 tonypitwood

@tonypitwood - Download the code from this page: https://github.com/ADefWebserver/SyncfusionHelpDesk

ADefWebserver avatar Jul 29 '20 20:07 ADefWebserver

@tonypitwood - (I deleted your post because it contained your key) - I will email to you directly, my version, using your key for you to test...

ADefWebserver avatar Jul 30 '20 18:07 ADefWebserver

@ADefWebserver Hi, I have just tried the download and nope, it still won't send an email . . I'm using Windows Defender - should I add a rule allowing VS2019 to export?

tonypitwood avatar Aug 01 '20 12:08 tonypitwood

@tonypitwood - I just did a video conference with Syncfusion support where I demonstrated how I was able to send emails, using the code in this GitHub repo, using your SendGrid key. I directed them to this SendGrid page where they show how to test your connection to SendGrid: https://sendgrid.com/docs/for-developers/sending-email/getting-started-smtp/

ADefWebserver avatar Aug 01 '20 13:08 ADefWebserver

@ADefWebserver Hi Michael, I just seem to be going around in squircles - I followed the instructions right through to auth login and then putting in my username and password (Base64) but it comes back with Bad username or password. Tried it nseveral times, even regenerating the Base64encoded fields but to no avail. I have spent the last hour trying to find how to ask someone on Twilio Sendgrid but cannot find where or who to ask! If you could help, I would really appreciate it. The fact that it works for you, but not for me, makes me think I have missed a step or two. Kind regards, Tony

tonypitwood avatar Aug 03 '20 08:08 tonypitwood

@tonypitwood - Sorry I have no connections at SendGrid. However, you can follow the directions to run the application from Azure and it will work from there: https://timheuer.com/blog/deploy-blazor-webassembly-applications-on-azure-using-github-actions-wasm/

ADefWebserver avatar Aug 03 '20 13:08 ADefWebserver