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 folks...how 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,

    J0k3rm4n
  • 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

    <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
      MAPI

      </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
      </span></font>
      </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
      Outlook?
      </span></font></b>
      <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
    </span></font></div>
    2006/10/SendMailMapi.zip
  • 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>

    </div>
  • Replied 4 August 2017, 5:58 am EST

    Hi,


    I wanted to share the way I have been able to send mail. In this case you can use SMTP or MAPI. components or write your own routines. We export the Active Report to a temp folder in which ever format we need and then attach the file to an e-mail. Simple and works out great.

  • 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 14 November 2018, 10:09 pm EST

    Most of the organization report send by email. I am using AOL account for this and to use this account is not a big issue but if anyone has a problem then you can take help from https://www.aoltechsupportnumber.com/blog/how-to-close-a-free-aol-account/ official website.
  • Replied 25 November 2018, 9:31 pm EST

    Al however programs needn't bother with updates, on the off chance that it is sheltered and anchored program, it has some value. Truly, we are talking about identified with AOL Shield Pro which has different highlights for the clients to use it in an appropriate way. It is very sheltered to peruse with the highlights of Anti Key logging System, Screen Grab insurance, and it can square trick sites effectively. In spite of these hello tech includes, the clients may confront some specialized issues while utilising it and need some help to determine them.http://www.downloadaoldesktopgoldshield.com/
  • Replied 2 September 2019, 9:25 pm EST

    If You have https://www.realmailfix.com/blog/how-to-delete-hacked-aol-email-account/ AOL Free Account and to use this account is not a big issue but if anyone has a problem then you can take help from or https://www.realmailfix.com/blog/how-to-delete-a-free-aol-account/ Delete AOL free Account.
Need extra support?

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

Learn More

Forum Channels