# Re-inject an email into Ciphermail

**URL:** <https://community.ciphermail.com/t/re-inject-an-email-into-ciphermail/489>\
**Category:** Gateway\
**Created:** [March 7, 2016, 8:04pm UTC](https://community.ciphermail.com/t/re-inject-an-email-into-ciphermail/489 "2016-03-07T20:04:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Gunther](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Stefan\_Gunther](https://community.ciphermail.com/u/Stefan_Gunther)\
**Post date:** [March 7, 2016, 8:04pm UTC](https://community.ciphermail.com/t/re-inject-an-email-into-ciphermail/489/1 "2016-03-07T20:04:22Z")

</div>

Hello,

is it somehow possible to re-inject an email, that has for whatever reason not been encrypted, into Ciphermail?

We don't want to bother the original sender, but want to try to use the existing email for debugging.

Thanks for any suggestions,

Stefan

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [March 7, 2016, 9:14pm UTC](https://community.ciphermail.com/t/re-inject-an-email-into-ciphermail/489/2 "2016-03-07T21:14:28Z")

</div>

Hi Stefan,

Do you want to inject the raw MIME message into the SMTP server? If so  
there are different ways to do this. One option is to use telnet. This  
gives you the highest flexibility but is not so easy and max message  
size is limited.

You can also use curl:

curl --url "smtp://server.example.com" --mail-from "test(a)example.com"  
--mail-rcpt "test(a)example.com" --upload-file some\_raw\_mime\_file.eml

Note: the above line should be one line

There are other tools which can do a similar thing.

Kind regards,

Martijn Brinkers

> **···**
>
> On 03/07/2016 09:04 PM, Stefan Michael Guenther wrote:
> 
> > Hello,
> > 
> > is it somehow possible to re-inject an email, that has for whatever reason not been encrypted, into Ciphermail?
> > 
> > We don't want to bother the original sender, but want to try to use the existing email for debugging.
> > 
> > Thanks for any suggestions,
> 
> --  
> CipherMail email encryption
> 
> Email encryption with support for S/MIME, OpenPGP, PDF encryption and  
> secure webmail pull.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
