# Best way to import cert from email attachment

**URL:** <https://community.blockcerts.org/t/best-way-to-import-cert-from-email-attachment/1670>\
**Category:** Technical\
**Created:** [February 1, 2019, 5:57pm UTC](https://community.blockcerts.org/t/best-way-to-import-cert-from-email-attachment/1670 "2019-02-01T17:57:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jc.chartrand](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jc.chartrand](https://community.blockcerts.org/u/jc.chartrand)\
**Post date:** [February 1, 2019, 5:57pm UTC](https://community.blockcerts.org/t/best-way-to-import-cert-from-email-attachment/1670/1 "2019-02-01T17:57:47Z")

</div>

If there is a public link to a Blockcert, then opening the following url on a phone with a Blockcerts Wallet will import the cert from the link:

[https://wallet.blockcerts.org/#/import-certificate/{urlFortheCert}](https://wallet.blockcerts.org/#/import-certificate/%7BurlFortheCert%7D)

So we can send an email containing that link to the recipient, and if they click the link, their Blockcert is directly imported into their Wallet.

However, what’s the best way to import a Blockcert into the Wallet when the Blockcert is sent as an email attachment, and the cert isn’t hosted publicly?

---

<div class="post-metadata">

**Author:** ![Chris\_J](https://avatars.discourse-cdn.com/v4/letter/c/e480ec/32.png) [@Chris\_J](https://community.blockcerts.org/u/Chris_J)\
**Post date:** [February 1, 2019, 6:01pm UTC](https://community.blockcerts.org/t/best-way-to-import-cert-from-email-attachment/1670/2 "2019-02-01T18:01:59Z")

</div>

James,

The Wallet has the ability to import a file that resides on the phone. Does this address the problem?

 ![IMG_8638](https://us1.discourse-cdn.com/flex016/uploads/blockcerts/original/1X/7c29585857f0a30c936dd9d56a02ca5c976d888b.jpeg)

---

<div class="post-metadata">

**Author:** ![jc.chartrand](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jc.chartrand](https://community.blockcerts.org/u/jc.chartrand)\
**Post date:** [February 1, 2019, 7:57pm UTC](https://community.blockcerts.org/t/best-way-to-import-cert-from-email-attachment/1670/3 "2019-02-01T19:57:10Z")

</div>

I was hoping there might be a way to automagically import the credential directly into the wallet without having to first save the attachment in the email to the phone (which is I’m assuming what has to first be done).

I didn’t really think so, but didn’t want to immediately assume so without checking.

btw, are there any other links besides these two:

[https://wallet.blockcerts.org/#/introduce-recipient/{introURL}/{nonce}](https://wallet.blockcerts.org/#/introduce-recipient/%7BintroURL%7D/%7Bnonce%7D)

[https://wallet.blockcerts.org/#/import-certificate/](https://wallet.blockcerts.org/#/import-certificate/){certURL

that will trigger actions in the Wallet?

Thanks once again for all the great feedback here in the forum.

James

---

<div class="post-metadata">

**Author:** ![quekyaojing](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quekyaojing](https://community.blockcerts.org/u/quekyaojing)\
**Post date:** [August 4, 2019, 3:32am UTC](https://community.blockcerts.org/t/best-way-to-import-cert-from-email-attachment/1670/4 "2019-08-04T03:32:30Z")

</div>

Hi, are you able to find a solution to this?

---

<div class="post-metadata">

**Author:** ![jc.chartrand](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jc.chartrand](https://community.blockcerts.org/u/jc.chartrand)\
**Post date:** [August 5, 2019, 10:56am UTC](https://community.blockcerts.org/t/best-way-to-import-cert-from-email-attachment/1670/5 "2019-08-05T10:56:57Z")

</div>

As Chris suggested, the file has to be saved somewhere on the phone, then imported.

We found with a test run of about thirty students that most of the students had no trouble doing this. Enough, though, that for our next test run we created a (password protected) link to the certificate, which could then be used with the blockcerts import-certificate url:

[https://wallet.blockcerts.org/#/import-certificate/{urlFortheCert}](https://wallet.blockcerts.org/#/import-certificate/%7BurlFortheCert%7D)

to automatically import the certificate into the blockcerts wallet when the link is clicked.
