question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Send Email Bug!!

See original GitHub issue

I found an assembly data bug in the construction of send mail. Please see the code and the screenshot. image The code in the screenshot should be commented to always get the test address in the configuration. image All QueueMessageAsync methods do not take From and should read the sender of the configuration file.

The following fixes the code

return QueueMessageAsync(new MailMessage {
            From = _appOptions.EmailOptions.SmtpFrom,
            To = invite.EmailAddress,
            Subject = subject,
            Body = body
        }, template);

In addition, there will be problems in reading the email configuration, the general email address will be xx@xx.com. Converting to a Uri will fail

Issue Analytics

  • State:closed
  • Created 3 months ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MuJintcommented, Jul 7, 2023

Of course, this has solved my own problem. But there are still a lot of windows environment can not get rid of, which is very frustrating. With best wishes.

0reactions
niemyjskicommented, Jul 7, 2023

Any chance you’d be willing to update the self hosting guide with any email settings that should be set. Also, can we close this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

If you can't send email on your iPhone or iPad
If you can't send email from the Mail app on your iPhone or iPad, there are a few things you can try.
Read more >
Cannot send emails: How to fix email sending issues
Cannot send emails: How to fix email sending issues · Check your internet connection. · Check your SMTP server details. · Verify all...
Read more >
Send Email action isn't working - Glide Community
Describe the bug: Send Email action is notifying an error each time we try to run it, and it isn't sending any emails....
Read more >
Cannot send email for 3 days - Mail
The server name is not valid, neither is port 2525. Maybe a typing error? Go to Menu > Accounts and click on the...
Read more >
“Email failed to send” – understanding the error message?
1. You're not connected to the internet · 2. You've set up your email client with the wrong SMTP parameters · 3. Your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found