Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status = WaitingForActivation #17

Open
indyjason79 opened this issue Apr 17, 2018 · 1 comment
Open

Status = WaitingForActivation #17

indyjason79 opened this issue Apr 17, 2018 · 1 comment

Comments

@indyjason79
Copy link

I tried the library and it's not even trying to send the email. The result from client.SendMail(emailMessage) is always: Status = WaitingForActivation. I already enabled the "Internet (client)" capability in the manifest file, but it's still not working. Am I missing something?

@Vangos
Copy link
Member

Vangos commented Apr 18, 2018

This is usually occurring when you are calling an awaitable method without the await keyword.

You should call the SendMail method as follows:

await client.SendMailAsync(emailMessage);

This will cause a WaitingForActivation message:

client.SendMailAsync(emailMessage);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants