Mail failure - rejected by local scanning code (alternative solution) 
Author: Percival R.
Visited 13,
Followers 0,
Shared 0
Hi,
I wasn't sure where to place this post. So, please feel free to relocate it.
I encountered the error “Mail failure — rejected by local scanning code” a few days ago, and I accidentally stumbled upon the solution that worked for me. In my case, the solution was to make a minor change in Step #5 of Website X5 Pro. At Step 5 (e.g., “Export Website to the Internet”), I had to make sure to clear the checkbox known as “Allow sending from alternative senders” (this is in the “E-Mail” tab).
Once I made that change, everything worked normally.
Posted on the

This checkbox switches the email script.
If this box is checked, the new email script, which includes a feature implemented at the user's request, will be used.
However, not all web hosts support this feature, which can lead to an error.