title: How to send a blob link with nodemailer?
body: <p>I have a problem with nodemailer, I want to send a blob link to download a pdf only, nodemailer needs http: // in front of the link, my blob link works but the link is not clickable in my mail. Do you know a tip or solution?</p>
  <p>Thank you in advance for your help</p>
  <pre class="lang-js prettyprint-override"><code>
      const {subject, message, customerEmail, pdf} = req.body
      
  
      // Create a SMTP transporter object
      const transporter = nodemailer.createTransport({
          host: 'smtp.ethereal.email',
          port: 587,
          auth: {
              user: '...',
              pass: '...'
          }
      });
  
      // Message object
      let mail = {
          from: 'Sender Name &lt;sender@example.com&gt;',
          to: 'Recipient &lt;recipient@example.com&gt;',
          subject: subject,
          text: `${message} lien de téléchargement du devis : ${pdf}`,
          html: `&lt;p&gt;&lt;b&gt;${message}&lt;/b&gt;&lt;/p&gt;&lt;/br&gt;&lt;a href=&quot;${pdf}&quot; target=&quot;_blank&quot;&gt;téléchargez votre devis&lt;/p&gt;`,
      };
  
      transporter.sendMail(mail, (err, info) =&gt; {
          if (err) {
              console.log('Error occurred. ' + err.message);
              return process.exit(1);
          }
  
          console.log('Message sent: %s', info.messageId);
          // Preview only available when sending through an Ethereal account
          console.log('Preview URL: %s', nodemailer.getTestMessageUrl(info));
      });
  
  
      res.json({send: &quot;true&quot;})
  
  </code></pre>
  <p><strong>blob uri :</strong></p>
  <p>blob:http://localhost:3000/e92e4e22-31ac-4740-b7fa-e0fc06ee08d7</p>