Sending a report by e-mail

Posted by: j0k3rm4n on 4 August 2017, 5:58 am EST

  • Posted 4 August 2017, 5:58 am EST

    Hey are you?

    This is my current dilemma: Is it possible to have a procedure in a AR 2.0 Report in which I'd be able to export it and send it by e-mail (using outlook express, or something like that...)?

    I wouldn't need it to be a PDF file, but if I could only send it in a format recognizable somehow, it'd be great!!!

    I'd appreciate any help...thanks a lot!

    best regards,

  • Replied 4 August 2017, 5:58 am EST

    <div class="Section1"><font face="Arial" size="2"><span>You have several options to send a
    report via email. A very nice and easy-to-use library is vbSendMail. The one
    drawback of this library is that it doesn’t support encrypted smtp (SSL). If you
    cannot use this library because of this drawback, you can use:</span></font>
      <li class="MsoNormal"><font face="Arial" size="2"><span>Collaboration Data Objects :
      </span></font>Sending Email Using CDO and

      </p><li class="MsoNormal"><font color="black" face="Arial" size="2"><span>Microsoft MAPI
      controls 6: </span></font><font color="black"><span>Sending
      Email With MAPI Components in Visual Basic
      </p><li class="MsoNormal"><font face="Times New Roman" size="3"><span>Using the </span></font><font face="Arial" size="2"><span>Outlook object model:
      </span></font><b><font face="Times New Roman"><span>How do I send an email using
      <font face="Arial" size="2"><span> </span></font></p>
    <font face="Arial" size="2"><span>No doubt there are other options to
    send email including third party controls. I’ve modified the sample from the
    devarticles using the MAPI controls to send a report in several attachments. I hope the resources above prove helpful if this application doesn't suit your needs
  • Replied 4 August 2017, 5:58 am EST

    Thanks a lot, Ali - DD!!!

    Is there a procedure in which I could the same that those ones you showed me using an Outlook Express application?
  • Replied 4 August 2017, 5:58 am EST

    I really don't know if Outlook Express has an OLE automation interface for you to start a new message. The MAPI controls uses underlying message subsystem of the machine and I think if you change the sample to suit your needs, it is as if you have created a new Outlook Express message and attached the report to it.

  • Replied 4 August 2017, 5:58 am EST

    <div class="Section1">

    <font face="Courier New" size="2"><span>Tecnova,</span></font>

    <font face="Courier New" size="2"><span>Can you share the code you
    use to open a new Outlook Express message and add the exported reports as
    attachments to it?</span></font>

  • Replied 27 August 2020, 4:16 am EST

    You can delete your POF profile quickly, we'll tell you How to delete POF profile. Closing your POF account is simple, even if it requires some clicks.
  • Replied 4 September 2020, 2:53 am EST

    I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one0
    [url=]We Explain Technology[/url]
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels