DNS settings for POP3 and SMTP

I transferred a couple of domains to the Cloudflare registry. All the DNS settings were imported successfully except for POP3 and SMTP.
I added manually theese records in this format:
CNAME pop mydomain
CNAME smtp mydomain

but not working

How do I configure smtp and pop setting for the name server?
Thanks

Make sure they’re set to :grey: DNS Only. Cloudflare doesn’t proxy mail services, so any relevant hostnames must be :grey:.

I have an MX record for mydomain.com DNS only. The webmail works but the problem still exists with pop3 and smtp.
What type of record do I need to create for pop3 and smtp?
Is it MX or CNAME or something else?