While trying to send the .eml file in emails, if you face an error that says – ‘Not allowed extension file,’ you first need to allow the .eml file extensions.
You can follow the steps listed below to resolve this error –
1. Log in to the cPanel server through SSH.
2. Copy the /etc/cpanel_exim_system_filter file to /etc/cpanel_exim_system_filter_emlallowd.
3. Now, log in to WHM and navigate to the exim configuration.
Set default exim filter file as /etc/cpanel_exim_system_filter_emlallowd.
4. Remove the eml extension from the cpanel_exim_system_filter_emlallowd file and Save it.