Base solution for your next web application
Open Closed

SMTP - Gsuite #8807


User avatar
0
Siyeza created

my email - [email protected]

This email I have configured on GSuite for business. To configure my SMTP settings, what should be the values? ie domain, port, etc


12 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team
  • User Avatar
    0
    Siyeza created

    I am getting the 'email succesfully sent' but I am not getting any emails ... see the highlighted area. What shoud that be (gmail.com OR mydomain.com)?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    In Debug mode, NullEmailSender is used, see https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/AbpZeroTemplateCoreModule.cs#L101.

    It just writes a log. You can change this code or run your project in release mode.

  • User Avatar
    0
    Siyeza created

    This app is in production, I am certain it is on 'Release' mode

  • User Avatar
    0
    ismcagdas created
    Support Team

    You can check the logs of your app to see if it writes logs or sends an email.

  • User Avatar
    0
    Siyeza created

    That domain name, what is supposed to be that? gmail.com or mydomain.com, my emails are going true GSuite

  • User Avatar
    0
    ismcagdas created
    Support Team

    I'm not sure, you can try both and try to send a test email.

  • User Avatar
    0
    Siyeza created

    "You can check the logs of your app to see if it writes logs or sends an email." on the database or audit logs on the app itself? If on Db, which table ...AuditLogs?

  • User Avatar
    0
    ismcagdas created
    Support Team

    @Jobe

    It should be written to App_Data/Logs/Logs.txt file.

  • User Avatar
    0
    Siyeza created

    Cant you guys test something like this on one your apps, surely you should. It is becoming frustrating. I cant find any logs about email

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Jobe

    We tested our app with a gmail smpt account and it works. Finding the correct SMTP configuration for your app is not related to AspNet Zero. If you are sure about your SMTP settings, could you test it with an SMTP Test tool ?

    Thanks,

  • User Avatar
    0
    Siyeza created

    will close this for now, it looks like it is very much on my side. Until when I can test this.