How to leave stmp username and pass blank. I don’t want to assign them.
While setting it for the first time I made a mistake by assigning an email address. Is there anyway to correct this by leaving it blank? And one more doubt
After I make changes to app.yml How do I save the changes?
No. basically I am setting up g suite just to get the verification e-mail (while setting up discourse). So I need these two fields to be left blank. Would it be possible?
That doesn’t answer why you would use an unsupported email service over one of the recommended options. Discourse will need working email to function correctly.
Please refer to the official documentation rather than the post linked above. Ignore the post from Crunchify suggesting you use Google Apps, as I’ve already said is a very bad idea.
And configure the MX records for the mail service routing from your board under that subdomain.
If two separate services are both set up with the same mail domain, they won’t know the other exists to route email there. So, if you had tried to use mailgun at doubtion.com it wouldn’t be able to send email to your google apps mailbox. It would have thought it was doubtion.com.
Step one would be to create a DNS entry for a subdomain to send mail from your Discourse instance. Let’s assume you’re going to use ‘discourse.doubtion.com’. That means you’re going to be sending email from @discourse.doubtion.com
Mailgun
Sign up for MailGun and add discourse.doubtion.com as a domain. Leave the window open as it will show you what DNS records we’re going to need to add in the next step.
Replicate the DNS entries from Mailgun here, you’re going to need to add two MX records for the discourse subdomain, a CNAME for email.discourse as a subdomain, and two TXT records.
Wait ~10 minutes after creating these records then return to the mailgun window and click to verify the DNS records. If you got any wrong it will let you know. Once you’ve verified your domain use the credentials provided by Mailgun in the setup screen.