Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

49
Vistas
the server responded with a status of 500 trying to use external font in email service

I want to inject my HTML email template to email using node:

at my HTML code I import font like this:

<style type="text/css">
      
      @import url('${fontFolder}/IRANSansWeb_Light.woff');
      
      @font-face {
        font-family: "IRANSansWeb_Light";
        src: url(IRANSansWeb_Light.woff) format("truetype");
      }

...

I can download the font via the url (${fontFolder}/IRANSansWeb_Light.woff) in ethereal email which is a service for testing email but I get this error and unable to load the email:

Failed to load resource: the server responded with a status of 500 ()
7 months ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos