# Resend email

Resending an email with the plugin is very easy. Please note only, that custom comments need an additional setup step.

### Procedure <a href="#procedure" id="procedure"></a>

To resend the email you have to go to `Orders > Overview > "Any order"` in the admin and scroll to the section `Resend order confirmation mail`.

There click on the button `Resend mail`, optionally enter a comment and click on the button `Send now` to trigger the email.

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhDVIwCi_IMhrBtbXDD%2F-MhUpeBSEEQb0cnyhP9r%2F-MhUplpuBAML3sYdPnIh%2Fimage.png?alt=media\&token=101561c3-4ff3-47da-9986-533a8a92332c)

### Embed your custom comments <a href="#embed-your-custom-comments" id="embed-your-custom-comments"></a>

As already mentioned, custom comments require an additional step, as these access the default email template `Order confirmation`. An automatic installation is not possible because this email template can be very individual per store.

To customize the email template you have to navigate in the admin to `Settings > Shop > Email templates`, there edit the email template `Order confirmation` and then scroll to the section `Mail text`.

Now you have to insert the dynamic placeholder `resendOrderConfirmationMailComment|default('')` in the appropriate places and finally save the email template.

{% hint style="warning" %}
**Attention**

Do not add another space after the dynamic placeholder `resendOrderConfirmationMailComment|default('')`. The plugin automatically appends a space if a comment is present. Otherwise the dynamic placeholder is completely empty, which means that even emails without custom comments still look good.
{% endhint %}

![](https://1923190518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhDVIwCi_IMhrBtbXDD-1972196547%2Fuploads%2FRZZYUTqQIdYsg4AGuCTj%2FBildschirmfoto%202023-02-01%20um%2019.49.37.png?alt=media\&token=7706a317-694b-4b08-82c8-c2c2dfdaed59)


---

# Agent Instructions: 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:

```
GET https://docs.shop-studio.io/shopware/extensions/resend-order-confirmation-mail/resend-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
