Closed evoandroidevo closed 2 years ago
I'm not really sure what you mean here. Can you be more specific, maybe include the exact command you're trying to run it with? You should just be able to start it up with the EMAIL_TYPE
env var set to SMTP
.
otherConfigVars... EMAIL_TYPE=smtp ./burnerkiwi
You'll also need to include several other config variables which you can see in the readme.
guess what im asking is does the smtp option need a smtp server already setup or does burner.kiwi do that for you. If a server needs to be setup does it need any special configs as in a catch all mailbox?
Yes it does have an smtp server built in. The code for it is here: https://github.com/haydenwoodhead/burner.kiwi/blob/master/email/smtpmail/smtp.go. It requires no other setup than that env var and appropriate MX records.
There's currently no code to talk to an external email server. If that's something you wanted I'd be more than happy to point you in the right direction on how to integrate that.
Thank you that answered my question need to work on being more clear. On second note will the smtp work with more than one domain if setting the domains env var?
Yes. If you set the env var DOMAINS
with multiple domains and those domains have the appropriate MX records then it should work. E.g DOMAINS=example.com,example.net
Thank you for the fast reply's
It doesn't seem to use its own smtp server when set so my question is are there any special requirements for the smtp server if it does need to be a separate program like does it have to be set up for catch all