Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Nikita Matusevich · Nov 04, 2019 at 10:39 PM · CloudScriptapissdksAuthenticationunreal

No confirmation email is received.

Hello. I set up sending an email to confirm the mail, but the email does not come to the user. I rechecked everything 10 times, enabled access to untrusted applications in gmail, but the email is not sent. Also I tried to send an email via server.SendEmailFromTemplate in CloudScript.

Comment
Nikita Matusevich

People who like this

1 Show 2
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SethDu ♦ · Nov 05, 2019 at 05:39 AM 0
Share

Can you provide your Title ID?

In addition, If SendEmailFromTemplate API is called, there should be a generated PlayStream event, which can indicate if the email is sent successfully.

avatar image Nikita Matusevich SethDu ♦ · Nov 05, 2019 at 11:53 AM 0
Share

My TitleId: BDA22
No event is generated at all. The function also does not cause an error. That is, the function is successfully triggered, but the letter is not sent.

5 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · Nov 06, 2019 at 01:39 AM

@Nikita Matusevich

I have checked your title and find several "email_sent" PlayStream events on Nov. 4th. The Error message is "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. "

May I ask have you tried to send emails later since then? I believe it is SMTP setup issue and in fact, you may get more help from the SMTP provider related developer community. There are several possible reasons, SMTP port number can be incorrect; SMTP provider(like Gmail) requires app-specific password; The password for SMTP is simply too weak to pass the measuring process.

In addition, you may keep the PlayStream web page open to monitor the events generating. Otherwise, p'le'ase navigate to "Game Manager" -> "Data" -> "Event History" to retrieve former events.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Aimbot Studio · May 06, 2021 at 09:29 AM

I am facing the same issue. My Title Id is "BFED1"

Comment

People who like this

0 Show 3 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SethDu ♦ · May 06, 2021 at 10:02 AM 0
Share

What's your SMTP provider? I have checked your PlayStream event, you may need to set up "less secure app" in your mail setting. For example, if it is Gmail -- https://myaccount.google.com/lesssecureapps

avatar image Aimbot Studio · May 19, 2021 at 06:00 AM 0
Share

I have turned on "less secure App" in my mail, i am using gmail server

avatar image SethDu ♦ Aimbot Studio · May 19, 2021 at 07:02 AM 0
Share

Have you checked the PlayStream Event? What is the detailed error message?

avatar image

Answer by Aybjax · Jun 29, 2021 at 08:40 PM

Good day! Thanks in advance for you help!

I am facing the same issue. Monitoring the playstream I learned that it is failing. However, I dont event get the error callback on my server (I guess that if sending fails, it must send request to error callback url).

/********************************** Here is head of event **************************/

{
    "EventName": "sent_email",
    "EmailTemplateId": "8B1AF472557A907E",
    "EmailTemplateName": "test.portal.reset.password",
    "EmailTemplateType": "AccountRecovery",
    "Success": false,
    "ErrorName": "EmailClientTimeout",
    "ErrorMessage": "SMTP client timed out sending mail to smtp.gmail.com:465",
    "EmailName": "Primary",
    "Token": "3C635E5EE24F460D",
    "Subject": "Смена пароли аккаунта",

/************************************************************************************/

The email configuration work on remote test server.

What should I do?

P.S. Title id is DD96A.

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Aybjax · Jun 29, 2021 at 09:02 PM 1
Share

changin to port 587 helps

avatar image SethDu ♦ Aybjax · Jun 30, 2021 at 01:47 AM 0
Share

Please feel free to let me know if you have any other questions. Creating a new thread will be preferred. Thanks for your understanding.

avatar image

Answer by pixel · Jul 01, 2021 at 01:31 AM

same issue

Unity 2019.4.28f1 / 2019.2.21f1

,

Same issue

Unity 2019.4.28f1 / 2019.2.21f1


ovcco.png (137.9 kB)
Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Akarsh jain · Jul 05, 2021 at 05:06 AM

HI I found the ans i wasn't receiving any mail cause i need to setup up 2 factor authentication and app password + less secure to my account all these three things helped me get the mail and really thanks to the community to help

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    6 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    There is a problem with the certificate when using the container. 1 Answer

    Sending Telemetry events from Server 1 Answer

    PHP example for Client Connection not Working 2 Answers

    Advantages of CloudScript over Calling JavaScript from Node.js 1 Answer

    ​How can a client launch their game server via "Server 2.0" with custom settings? 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges