Thank you for your response.
What I was trying to achieve was to enable the use of a mail form function from a web application hosted on Vercel. Since Vercel does not have a mail server, it is necessary to use an external mail server. Initially, I thought it was necessary to add MX records as mentioned in my first question. However, as I worked towards solving the problem, I realized that it was not necessary.
The solution is as follows:
◆ External Mail Server
- Prepare a mail account
- Confirm SMTP settings
◆ Vercel
- Set up mail settings in Environment Variables
- Build nodemailer
I have not yet implemented the above steps, but I believe that this procedure will successfully set up the mail settings. If I encounter any issues with the mail settings, I may reply again.
By the way, I understand that it is possible to add MX records on all plans, including the Hobby plan, on Vercel. Also, I understand that the CLI error can be resolved by following the instructions you provided. I will try these steps when necessary.
Thank you very much for your kind response. Best regards.