> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell/de/powershell-commands/send-rdmmessagebyemail.md).

# Send-RDMMessageByEmail

### Übersicht

Einen Link zu einer Nachricht per E-Mail senden

### Syntax

#### \_\_AllParameterSets

```
Send-RDMMessageByEmail [-To] <string[]> [-Body] <string> [[-Passphrase] <string>]
 [[-Duration] <PSSendLinkDurationWrapper>] [[-ViewLimit] <int>] [-AllowRecipientToDeleteMessage]
 [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
```

### Beschreibung

Verwenden Sie Devolutions Send, um einen Link zu einer Nachricht per E-Mail zu senden. Nur Devolutions Cloud- und Devolutions Server-Datenquellen unterstützen dieses Cmdlet.

### Beispiele

#### Beispiel 1

```powershell
PS C:\> Send-RDMMessageByEmail -To user1@domain.com -Body 'A special message' -Passphrase 654321 -Duration 5 -AllowRecipientToDeleteMessage -ViewLimit 10
```

Senden Sie eine E-Mail an <user1@domain.com>, die den Link zur Nachricht enthält. Der Empfänger muss die Passphrase verwenden, um die Nachricht zu entschlüsseln. Er kann sie innerhalb der nächsten 5 Tage zehnmal ansehen. Wenn er sie nicht mehr benötigt, kann er sie selbst löschen.

#### Beispiel 2

```powershell
PS C:\> Send-RDMMessageByEmail -To user1@domain.com, user2@domain.com, user3@domain.com -Body 'A special message' -Duration OneHour
```

Senden Sie eine E-Mail an <user1@domain.com>, <user2@domain.com>, <user3@domain.com>, die den Link zur Nachricht enthält. Der Link ist nur für eine Stunde gültig.

### Parameter

#### -AllowRecipientToDeleteMessage

Einem Empfänger erlauben, die Nachricht zu löschen

```yaml
Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Body

Zu sendende Nachricht.

```yaml
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 1
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Duration

Zeit bis zum Ablauf des Links. Entweder eine Anzahl von Tagen (max. 30) oder ein Wert aus dem Enum \[Devolutions.Server.ApiWrapper.Models.SendLinkDuration]. Die Standarddauer ist eine einzelne Stunde.

```yaml
Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSWrapper.PSSendLinkDurationWrapper
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 3
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ForcePromptAnswer

Schalter, der mit Vorsicht zu verwenden ist. Er beantwortet automatisch Eingabeaufforderungen mit Ja/Nein-, Ja/Nein/Abbrechen- oder OK/Abbrechen-Fragen. Bei mehreren Eingabeaufforderungen können mehrere Werte an diesen Parameter übergeben werden. Hier sind die akzeptierten Werte:

* Yes: Die Eingabeaufforderung annehmen. Deckt die Werte OK und Automatic ab.
* No: Die Ja/Nein/Abbrechen-Eingabeaufforderung ablehnen. "Cancel" ist die Ersatzoption, wenn es keine "No"-Option gibt.
* Cancel: Die Ja/Nein/Abbrechen-Eingabeaufforderung abbrechen. "No" ist die Ersatzoption, wenn es keine "Cancel"-Option gibt.

```yaml
Type: System.Windows.Forms.DialogResult[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -Passphrase

Passphrase zum Schutz der Nachricht. Der Empfänger muss sie verwenden, um die Nachricht zu entschlüsseln.

```yaml
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 2
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -To

E-Mails der Empfänger der Nachricht. Für Devolutions Cloud-Datenquellen ist die Anzahl der Empfänger auf 10 begrenzt.

```yaml
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### -ViewLimit

Wie oft der Link angesehen werden kann, bevor er gelöscht wird. Standardmäßig gibt es keine Begrenzung.

```yaml
Type: System.Nullable`1[System.Int32]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 4
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

#### CommonParameters

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction und -WarningVariable. Weitere Informationen finden Sie unter [about\_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

### Hinweise

Weitere Informationen erhalten Sie durch die Eingabe von "Get-Help Send-RDMMessageByEmail -detailed". Technische Informationen erhalten Sie durch die Eingabe von "Get-Help Send-RDMMessageByEmail -full".


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/powershell/de/powershell-commands/send-rdmmessagebyemail.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
