For when you need to use gmail smtp without OAuth or want to link up a less than secure app. This specifically details the extra steps needed for GSuite accounts.
- Login to a Domain Administrator Account
| SQL Server 2017 | |
| ---------------- | |
| Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83 | |
| Developer - 22222-00000-00000-00000-00000 | |
| Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B | |
| Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89 | |
| Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC | |
| https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/ |
| using System; | |
| using System.Collections.Generic; | |
| using System.Data; | |
| using System.Data.SqlClient; | |
| using System.Dynamic; | |
| public class DynamicSqlDataReader | |
| { | |
| private static dynamic ToExpando(IDataRecord record) | |
| { |
| # 00000000X00 | |
| /([0-9]{8,9}[a-z,A-Z][0-9]{2})/g | |
| # 00-000000-X-00 dashes are optional | |
| /([0-9]{2}-?[0-9]{6,7}-?[a-z,A-Z]-?[0-9]{2})/g | |
| # 00-000000 X00 dash is required, space before letter is optional | |
| /([0-9]{2}-[0-9]{6,7}\s?[a-z,A-Z][0-9]{2})/g |