# New-ImageQRCodeEmail

Generates a QR code that opens an email draft. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground API Reference.

Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`System.String`

Generates a QR code that opens an email draft.

## Syntax

```
New-ImageQRCodeEmail
[-BackgroundColor <Color>]
[-Email] <String>
[-FilePath] <String>
[-ForegroundColor <Color>]
[[-Message] <String>]
[-PixelSize <Int32>]
[-Show]
[[-Subject] <String>]
[<CommonParameters>]
```

[#](#method-new-imageqrcodeemail-color-string-string-color-string-int32-switchparameter-string)

Parameter set: `All Parameter Sets`

## Description

Use this cmdlet to create scannable mailto-style QR codes for support, sales, or campaign responses.

## Examples

### Create a basic email QR code

```powershell
New-ImageQRCodeEmail -Email 'user@example.com' -Subject 'Hello' -Message 'Body' -FilePath qr.png
```

Creates a QR code that opens the default mail client with recipient, subject, and body prefilled.

### Create a support-contact QR code

```powershell
New-ImageQRCodeEmail -Email 'support@evotec.pl' -Subject 'Support Request' -Message 'Please describe the issue before sending.' -FilePath support-mail.png -ForegroundColor DarkSlateBlue -PixelSize 14 -Show
```

Generates a support-oriented email QR code and opens the image after creation.

## Parameters

**-BackgroundColor Color optional**

Background color of the QR code.

**-Email String requiredposition: 0**

Recipient email address.

**-FilePath String requiredposition: 3pipeline: True (ByValue)**

The image format is inferred from the file extension.

**-ForegroundColor Color optional**

Foreground color of QR modules.

**-Message String optionalposition: 2**

Message body.

**-PixelSize Int32 optional**

Pixel size for each QR module.

**-Show SwitchParameter optional**

Open the image after creation.

**-Subject String optionalposition: 1**

Message subject.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:73E9DD8B3258C7083C14662989C88D2440FEA5CA4C5F22137D9F37566872FC08 -->
