How to send images and hyper links via smtpjs?

  javascript, smtp

I have the following code:

 const inputs = document.querySelector('input')
btn.addEventListener('click',() => {
    Email.send({
        Host: 'smtp.gmail.com',
        Username:'',
        Password:'',
  
        To:input.value,
        Subject:"",
        From: '',
        Body:''
    }).then(msg=>console.log(msg))

And in the body I want to send a photo, on the next row text and then a hyperlink(or even the button) Is it possible or smtpjs does not provide that functuonality? Couldn’t find anything

Source: Ask Javascript Questions

LEAVE A COMMENT