How can I use the Gmail mail server from Google from C# / NedFox software?
  • 07 Jun 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How can I use the Gmail mail server from Google from C# / NedFox software?

  • Dark
    Light
  • PDF

Article summary

<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;"></span><span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;"></span>From import and export software of NedFox, a SMTP server is often used in the .Config file to deliver mail.

In this case, the SMTP server of Gmail can be used. In the .Config file, at least the following AppSettings should be specified:

<add key="SmtpServer" value="smtp.gmail.com"/>

<add key="SmtpUsername" value="username@gmail.com"/>

<add key="SmtpPassword" value="password"/ 

Of course, the email address associated with the Gmail account should be provided for username@gmail.com. And instead of the text 'password', the actual password should be provided.

However, Google has recently blocked the use of their mail server for external applications by default. The following link should be used to allow less secure apps to access the Gmail SMTP server:

https://www.google.com/settings/security/lesssecureapps

Furthermore, this functionality is only available in updates of our software after January 11, 2017, as it includes an adjustment regarding the sending of the username and password.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.