I have main domain and subdomain - 2 different websites. There is a default laravel registration form on subdomain.
I need a functional process of email sending to users on a subdomain. Mailgun gives this opportunity. But when I starting to set up all the things I cannot insert MX records:
Does that mean: I can use mailsend only for domain and NOT for subdomain?
Or it means that I will set up mailsend for domain and subdomain will use it also?
I feel like asking stupid questions, but I can’t figure it out myself.
You can’t set MX records on a subdomain from our panel, that’s true. But that doesn’t mean you cannot send email from your subdomain.
First of all, you don’t need MX records to send email. Mailgun does give you MX records to use, but you only need those if you want to receive email with Mailgun. That’s entirely optional.
So you may still be able to add your subdomain as a sending domain to Mailgun.
And even if you can’t, that doesn’t mean you cannot send email. If you have example.com as a sending domain, and would like to send mail from blog.example.com, you could use [email protected] as your sending email address. So you can skip the subdomain setup entirely.
I’m sorry. I assumed that “subdomain” meant a subdomain of your own domain, not a free subdomain. The instructions only apply if you have your own domain, and want to upload something to a subdomain of your own domain.
The DNS record you need to enter is called an “SPF Record”. There is a section called that in the control panel. But again, that only works if you have your own domain name.
Try to send the email with PHP mail first. If you’re lucky, it just works. We whitelist specifically verification email templates from popular scripts. So if you use a popular script, you may be able to use PHP mail anyways.
Send the mail with a Gmail account or other email service without custom domain. It won’t be quite as professional as using the domain of your website, but at least you can get the message out.