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

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

12 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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)?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    Siyeza created

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    @Jobe

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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,

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)