-1

I'm trying to send an email attaching a PDF file using Lotus Notes.

I've been looking for the answer during the last weeks, I've found a lot of code to do it using Outlook and many webmails, but all I've find that works using Lotus Notes is the following code:

Sub Enviar_Correo()

ActiveWorkbook.SendMail _
Recipients:=" xxx@yyyy.com", _
Subject:= "EnvĂ­o de prueba"

End Sub

It open a new mail, with the correct destination, subject and body. But it attach the current workbook (I need a PDF file hosted in my computer), and it doesn't send the email.

I know that is not an easy question but, could somebody help me?

theB
  • 6,450
  • 1
  • 28
  • 38

1 Answers1

0

What is the link between sending your email and excel? If you want to send an email with an attachment, there are many ways like:

C# samples:

If you need to customize the email before sending (with user interface), it's a different way. You should add more information about your needs:

  • input
  • content
  • special needs...
Community
  • 1
  • 1
Nicolas R
  • 13,812
  • 2
  • 28
  • 57