552 5.7.0Blocked attachment, potential security issue

Gmail blocks file types that can run code (.exe, .js, .vbs and others), also inside zip files, and documents with suspicious macros.

Updated · Fyzno

What the bounce looks like

The bounce message carries a line that starts with the code. The words after it differ per provider; the code is what to match on.

552 5.7.0 Blocked attachment, potential security issue

Sent by: Gmail

What it means

Gmail blocks file types that can run code (.exe, .js, .vbs and others), also inside zip files, and documents with suspicious macros.

It belongs with the bounces under “Size and attachments”. The message itself was the problem, not the sender or the address.

How to fix it

  1. Share the file through file storage with a link instead.
  2. Save documents as PDF before sending.

Check yours in twenty seconds.

Free, no account, nothing stored. It says in plain words what to fix.

Check your domain's mail setup

Related codes: Size and attachments

All bounce codes