Skip to content
The Chat Archive
llama-3.3-70b-instruct· Meta LMArena Human Preference 140K

How to create a Gmail filter which blocks emails that have HTML embedded images from…

  1. User

    How to create a Gmail filter which blocks emails that have HTML embedded images from stackcdn.com

  2. Assistant

    To create a Gmail filter that blocks emails containing HTML embedded images from stackcdn.com, follow these steps:

    1. Log in to your Gmail account and click on the gear icon in the upper right corner.
    2. Select See all settings from the dropdown menu.
    3. Go to the Filters and Blocked Addresses tab.
    4. Click on Create a new filter.
    5. In the From field, leave it blank, as we're not targeting specific senders.
    6. In the Has the words field, enter the following:
    has:picture src:stackcdn.com
    

    This will match emails that contain HTML images with a src attribute containing the domain stackcdn.com. 7. Click on Create filter. 8. In the next screen, select the action you want to take on the matched emails. You can choose to: * Delete it: permanently delete the email. * Mark as spam: move the email to the Spam folder. * Apply the label: assign a label to the email (e.g., "Blocked Images"). 9. Click on Also apply filter to [X] matching conversations to apply the filter to existing emails in your inbox. 10. Click on Create to save the filter.

    The filter will now block emails containing HTML embedded images from stackcdn.com. Note that this filter might not catch all cases, as some emails may use different methods to embed images or obfuscate the src attribute.

    To further refine the filter, you can also use the has:html keyword to target emails that contain HTML content, like this:

    has:html has:picture src:stackcdn.com
    

    This will match emails that contain HTML content and have an image with a src attribute containing the domain stackcdn.com.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.