Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

263
Views
Agregar archivo adjunto en borrador de correo electrónico

Estoy tratando de enviar un correo electrónico que incluye un archivo adjunto. Este archivo adjunto debe adjuntarse automáticamente utilizando el código subyacente en el momento de abrir el borrador del correo. ¿Alguien podría sugerir la solución correcta?

código que he usado:

 MailMessage mailMessage = new MailMessage(); string ExFilePath = HttpContext.Current.Server.MapPath("~/Files/Assets.xlsx"); Attachment data = new Attachment(ExFilePath,MediaTypeNames.Application.Octet); mailMessage.Attachments.Add(data);`

Necesito adjuntar el archivo automáticamente en el cuerpo del correo.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!