Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Sending Automatic Email messages from in Actuate

Sending Automatic Email messages from in Actuate

Sending Automatic Email messages from in Actuate

I am using Actuate 8

I have a report and is scheduled to run automatically on the iServer every night at 4am.  What I would like to do is, if there is an error in the creation i would like the report to generate an email and send it to the appropriate person.

Any suggestions as to how to do this?

Thanks in advance.

Tom C

RE: Sending Automatic Email messages from in Actuate

Well i found some code that another programmer here used to do something similar and I am trying to fit it into my Actuate report.  it seems to fit alright but when trying to test it i keep getting an error message:


Basic Error: 102 Module: NewReportApp%Finish Line: 19  Failed to access method or field.  Do you want to debug?

the code i am using for the Actuate Report to email is:


if XMLPolicyFailedBool=True then
  msgbox XMLWhichPolFailed  

  dim jch as Object
  dim jci as Object
  set jch = CreateJavaClassHandle("sendMail.sendMail")
  set jci = jch.sendMail()
  dim e as string
  e = jci.Send("mail.exchange.com",  'mail server
+ "ReportNotify",             ' user
+ "actuate",                 ' password
+ "tcusick@email.com",     ' email address
+ "tcusick@email.com",     'to ()
+ "",                         'cc
+ "",                         'bc
+ "IVANs Download Failed",     'subject
+ "The following policy(s) cause IVANs to fail:" & vbCRLF & XMLWhichPolFailed, 'body
+ (fileName)) ' file    
end if

Any ideas or suggestions?

Thanks in advance

Tom C

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close