在GCP上建立發送MAIL服務,透過公司自家的SMTP Server
不能使用Standard Email Ports : 25
Port 25 is always blocked and cannot be used, even through SMTP relay using G Suite
整合方式:(本次跟IT合作,使用上面方式改587 port)
- Use port 465, 587
- GCP Third-party partners : SendGrid, Mailgun, and Mailjet
C# Code
1 |
|