Emailing from Reports6i

Dear All,
Well iam using Developer 2000 Reports 6i.
When iam emailing a report from runtime preview...it is opening the pre-configured
ms outlook and emailing the report successfully but as a .eps file which i can't open in any editor. The report is sent successfully but the person to whom send can't open the attachment in proper form.
Now how to attach it as .htm atleast or .pdf from the runtime preview.
The report can be generated to .pdf earlier and emailed thru outlook but why not from here in proper format.
Pl. help with a solution

Hi Sidhant,
Please try destype=mail and desformat=pdf or html. You can set the runtime preferences from the report builder or programatically set them.
Hope this helps,
Good luck,
Suma.

Similar Messages

  • Email from Reports6i(Again:-)

    Hi,
    I am posting this age old question again and this time I hope to find someone who has implemented it successfully.
    Has anyone successfully implemented emailing reports to designated users
    within a company or via internet with Oracle Reports 2.5/3.0/6/6i ?
    At our shop we have MS Outlook as the email client which is MAPI compliant as required by Oracle.
    Theoretically, when I give the following on the command line, reports should send an email to the user in the desired format.
    r30run32/rwrun60 MODULE=%my_rep_path%\rep_name DESTYPE=MAIL DESFORMAT=HTML(or PDF) DESNAME=outlook_email_id BACKGROUND=YES I get get
    REP-4204 Error occurred while trying to validate recipient's name/address
    REP-4232 Too many files opened.
    At other times, I get
    REP-4202: Error occurred while logging on to the Mail subsystem.
    REP-4224: Incorrect user name, password, or service profile name.
    REP-4202: Error occurred while logging on to the Mail subsystem
    Irrespective of what I give in the DESNAME i.e. either my MS Outlook id or
    an internet email id ([email protected]) I get the above error.
    Even if I try to use the reports server(I have the mailprofile="my profile name" set in server config. file) i.e. give the server=rep_tnsname via the URL I get the same error.
    Even from within the Reports designer, if I don't give a DESNAME, then my email client opens up and on entering the email id and pressing send, the report goes out as an email attachment but
    my requirement is that the email should be sent in silent mode (via the Reports server) without user interaction.
    Here again, if running the r30run32/rwrun60 from the command prompt, the Outlook profile selection window opens up which is unnecessary since the default mail profile has already been set.
    I would really appreciate if anyone could help out. I have found mention of this in Metalink but no solutions.
    Thanks,
    Manish
    null

    You can try to create report in batch mode and then that report
    attach to e-mail and send.
    You can use :
    1.Create the Mail Package using the following two Program Units:
    (a) Mail Package Spec
    (b) Mail Package Body
    Mail Package Spec:
    PACKAGE Mail_pkg IS
    session OLE2.OBJ_TYPE; /* OLE object handle */
    args OLE2.LIST_TYPE; /* handle to OLE argument list */
    procedure logon( Profile IN varchar2 default NULL );
    procedure logoff;
    procedure send( Recp IN varchar2,
    Subject IN varchar2,
    Text IN varchar2,
    Attch IN varchar2
    END;
    Mail Package Body:
    PACKAGE BODY Mail_pkg IS
    session_outbox OLE2.OBJ_TYPE;
    session_outbox_messages OLE2.OBJ_TYPE;
    message1 OLE2.OBJ_TYPE;
    msg_recp OLE2.OBJ_TYPE;
    recipient OLE2.OBJ_TYPE;
    msg_attch OLE2.OBJ_TYPE;
    attachment OLE2.OBJ_TYPE;
    procedure logon( Profile IN varchar2 default NULL )is
    Begin
    session := ole2.create_obj('mapi.session');
    /* create the session object */
    args := ole2.create_arglist;
    ole2.add_arg(args,Profile);/* Specify a valid profile name */
    ole2.invoke(session,'Logon',args);
    /* to avoid the logon dialog box */
    ole2.destroy_arglist(args);
    End;
    procedure logoff is
    Begin
    ole2.invoke(session,'Logoff');
    /* Logoff the session and deallocate the */
    /* resources for all the OLE objects */
    ole2.release_obj(session);
    ole2.release_obj(session_outbox);
    ole2.release_obj(session_outbox_messages);
    ole2.release_obj(message1);
    ole2.release_obj(msg_recp);
    ole2.release_obj(recipient);
    ole2.release_obj(msg_attch);
    ole2.release_obj(attachment);
    End;
    procedure send( Recp IN varchar2,
    Subject IN varchar2,
    Text IN varchar2,
    Attch IN varchar2 )is
    Begin
    /* Add a new object message1 to the outbox */
    session_outbox := ole2.get_obj_property(session,'outbox');
    session_outbox_messages :=
    ole2.get_obj_property (session_outbox,'messages');
    message1 := ole2.invoke_obj(session_outbox_messages,'Add');
    ole2.set_property(message1,'subject',Subject);
    ole2.set_property(message1,'text',Text);
    /* Add a recipient object to the message1.Recipients collection
    msg_recp := ole2.get_obj_property(message1,'Recipients');
    recipient := ole2.invoke_obj(msg_recp,'add') ;
    ole2.set_property(recipient,'name',Recp);
    ole2.set_property(recipient,'type',1);
    ole2.invoke(recipient,'resolve');
    /* Add an attachment object to the message1.Attachments
    collection */
    msg_attch := ole2.get_obj_property(message1,'Attachments');
    attachment := ole2.invoke_obj(msg_attch,'add') ;
    ole2.set_property(attachment,'name',Attch);
    ole2.set_property(attachment,'position',0);
    ole2.set_property(attachment,'type',1);
    /* 1 => MAPI File Data */
    ole2.set_property(attachment,'source',Attch);
    /* Read the attachment from the file */
    args := ole2.create_arglist;
    ole2.add_arg(args,Attch);
    ole2.invoke(attachment,'ReadFromFile',args);
    ole2.destroy_arglist(args);
    args := ole2.create_arglist;
    ole2.add_arg(args,1); /* 1 => save copy */
    ole2.add_arg(args,0); /* 0 => no dialog */
    /* Send the message without any dialog box, saving a copy in the
    Outbox */
    ole2.invoke(message1,'Send',args);
    ole2.destroy_arglist(args);
    message('Message successfully sent');
    End;
    END;
    WHEN-BUTTON-PRESSED trigger:
    mail_pkg.logon(:profile);
    mail_pkg.send(:to,:subject,:message,:attch);
    mail_pkg.logoff;
    In mail_pkg.send(:to,:subject,:message,:attch); you will define
    TO:, Subject:, :message (body of e-mail) and give path and file
    name which is previous created in batch mode from report
    builder. (eg. c:\reports\report1.pdf). It will send report with
    attached report pdf file.
    This works with Microsoft Outlook 2000.

  • Cannot send email from yahoo account on iPhone 5

    I just got an iPhone5 and I couldn't set up my Yahoo email as "yahoo"--it would not allow me to complete the process despot multiple attempts. I had to set it up as an "other" account. I can receive and read emails on my phone, but when I reply those messages will not send. They go to the outbox and an error message pops up that says" the email account has been rejected by the server" Does anyone have advice on either issue: setting up yahoo properly and/or sending email from phone?

    outgoing mail server
    SMTP - Yahoo! SMTP Server
    primary server
    Yahoo! SMTP server - ON
    server port 465
    That's what I have for my yahoo account.

  • Cannot send email from non .mac server

    I am only able to send/reply emails using my .mac address. My 2 other server addresses keep giving me the following message.
    "Cannot send mail. One of the recipient addresses was invalid".
    How can I fix this?

    You should be able to send email from Safari, however I do wonder why you wish to do this and whether there is something inherently wrong with using your mail app and your iCloud address.

  • Cannot send email from MobileMe account

    Apple recently pushed out an update to the MobileMe calendar. Since upgrading my account, I am unable to send emails from Firefox4 (current version) in Windows. The page sits indefinitely at a loading screen. Apple Support won't help because it isn't an issue with Safari. Anyone else have this issue?

    When using the MobileMe account preset to create the account, the SMTP server is created with 587 as the SMTP server port, which can't be changed when using the MM account preset to create the account.

  • Cannot send email from messages app

    Hey everyone
    I am unable to send an email from my iPhone to any email address. This feature was working perfectly a couple weeks ago. Once I noticed the issue, I restored my phone and upgraded it to iOS 6.1. This still did not fix the error unfortunately.
    Any advice?

    resolved part one: played around with mail preferences of user two to match prefs in user one
    still do not know about access to TDM saved addressbook data.

  • Cannot send email from Powershell on Mailbox Role

    Hi,
    I am trying to send an email from Powershell on Mailbox role of Exchange server. I have installed Symantec Mail Security on Mailbox Role.
    When I try to send email using Powershell, I got the following error.
    PS C:\a> Send-MailMessage -to [email protected] -Subject "Alert Closed.. Service is restarted on Computer" -from
    [email protected] -Body "The service was found stopped on Computer it was started automatically and it is now running normally." -bodyasHTML -priority High -SmtpServer smtp.domain.com
    Send-MailMessage : Service not available, closing transmission channel. The server response was: 4.3.2 Service not active
    At line:1 char:1
    + Send-MailMessage -to [email protected] -Subject "Alert Closed.. Service is ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException
        + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
    This command is working fine on every server except exchange server (CAS, Mailbox). Firewall is off on the servers.
    Any help will be highly appreciated.
    Regards,
    Anees

    Hi,
    Please check the similar thread .
    http://social.technet.microsoft.com/Forums/exchange/en-US/ef699832-8da9-4709-9a50-c6223b13bd95/sendmailmessage-returns-the-server-response-was-432-service-not-available?forum=exchangesvrsecuremessaginglegacy
    smtp server (smtp.domain.com) is rejecting the connection from the
     Mailbox role of Exchange server.
    So please allow the mailbox server ip address on the smtp server's (i.e. smtp.domain.com)
    receive connector to get it done 
    Regards
    S.Nithyanandham
    Thanks S.Nithyanandham

  • Cannot send email from my college email account

    For some reason, I'm not able to send an email to my professors. I know it's not my account, in general. I'm pretty sure it has to do with the Mac format because I have sent an email from my account on a PC. Does anyone know how I can change my email settings or email format to be able to send an email from my MacBook Pro?

    First you have to find out on what PORT the SMTP your "College" is allowing through there firewalls. Then in Mail go to the Mail menu item name "Mail" and in it's drop-down select Preferences. Then click on the account for your "College" email servers. Then in the right-hand pane use the SMTP drop-down to edit the SMTP server settings to the SMTP server port your "college" is allowing through.maybe port 587.

  • Cannot send email from an iPhone to a Outlook group.

    Hi,
    My question is simple and I'd like an exactly same answer : Can iPhone users send emails from their iPhone's to one or more groups created in Outlook?
    This is my situation: our organization is using iPhone to provide email, calendar, contact, task etc. to some of their employees. We are using Airwatch MDM Agent on user's iPhone because we have an Airwatch server in place. I have an user and she has an iPhone 5 and she has created some groups in Outlook but these groups are not reflected in her Contacts in the iPhone. I have update her phone with the latest update, although I was almost sure that this was not the issue, then I've found some interesting posts on internet saying that this was a known problem for the users with the previous iOS but I thought this might has been corrected with the iOS, apparently not.
    Also I've tried ''the trick'' that is posted on several forums with the iCloud but neither so it's working. I am looking for a straight answer, if this works or not on iPhone's?
    Thanks,
    Sebastian.

    There indeed ARE apps in the app store that will do what you want.  Just search and find the one that best fits your needs.

  • Cannot send email from the Mail App?

    I've had an izymail subscription for 1 year and just renewed it last week. I could never send an email from my Mail App without a window popping up stating "izymail cannot connect to the server" and the sending bar (along the bottom of the screen) just freezes and will not send.
    I've a Hotmail account linked up to izymail. Anyone know how to fix this problem?

    I fixed my problem - I deleted my email account on my iPhone, then tried to setup a new account. I had a few problems setting it up. It wouldn't recognize the incoming or outgoing servers and I lost my email altogether for a few hours. Then I changed every setting possible and finally figured out that I had 2-3 "Other SMTP Servers" as well as my "Primary Server". Once I deleted the Other SMTP Servers, my email worked and i'm able to send emails now!
    I also think changing the "Server Port" number helped solve my problem also, and making sure "Use SSL" was turned off.

  • Cannot send email from mac account on iphone

    i'm getting error CANNOT SEND MAIL ...the connection to the outgoing sever "smtp.mac.com:myaccount" failed. I'm able to sent email from other email account ie. yahoo, gmail
    thx for your help
    Message was edited by: gman1023

    You can try deleting the account on your iphone and setting it up again.

  • Cannot send email from iPhone using Outlook account

    I cannot send or reply to emails using my att.net email account. I always get the message, "The sender address was invalid". I can receive emails from this account.

    I am having the same problem. Any suggestions would be appreciated!

  • Cannot send email from iPhone5--calendar syncing issues also

    I have an iPhone 5 and am not currently using iCloud.  I have 3 email accounts. 
    The first is a yahoo email account--and it both receives & sends emails just fine. 
    I use Outlook for the other two email accounts (one is an IMAP and the other is a POP).  Both receive email, but I cannot send out emails from my iPhone.  When I try to send an email from either account, I get this message: 
    "A copy has been placed in your Outbox.  The sender address "[address I used]" was rejected by the server.
    Also, I don't know if it is related, but my iPhone calendar isn't syncing with Outlook.  I add an appointment on my iPhone or in Outlook, and it won't appear in the other location (Outlook/iPhone). 
    Thanks for your help. 

    Check your settings, maybe the mail index is at fault.
    Setup Wizard and troubleshooting tips:
    http://www.apple.com/support/mail
    Also has a link to Mail community section.

  • Cannot send email from scanned pages

    I am having trouble with the updated HP remote app on Ipad, since the update I can scan the pages in, but then cannot send them via email. This is qute important because i work remotley from the office and rely on getting my design drawings in on a nightly basis
    please help

    cannot send email from scanned pages

  • Cannot send email from ipad?

    I can receive, but cannot send emails from my iPad. Always get message that I have wrong user name or password.

    Then make sure that the settings are correct in your email account.
    Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

Maybe you are looking for

  • How many times can you burn a protected aac file

    hey its prob a silly question but im actualy not sure, once i read that you get unlimited cd burning of tracks bought from itunes, then i read that you can burn a playlist up to 7 times... does that mean the track can only be burnt 7 times or the pla

  • I am getting an error while configuring the ibots

    hi all. when i was Execute the CryptoTools utility to add the Scheduler Administrator credentials to the Presentation Services Credential Store: i was getting an error ..... Run time Error program: c:\oracle\web\bin\cryptotools.exe Applications has r

  • How can i print a page which contains tooltip

    i am using a customtooltip, and the the tooltip is act like a pop-up box, but the tooltip will be remained on screen after user is clicked on the control, and destroy onli when user click others in the panel. The question is how can i print all these

  • Processing large message payload with weblogic JMS

    Hi, I have a requirement in my project to process 50MB-500MG-1GB file using the JMS queue. We could able to process 50MB payload but it's talking almost 2-3min to post the message and 2-4min to consume the message. Are there any configurable paramete

  • Not burning DL DVDs

    Whether on internal drive or external drive with Toast 8 nor with burner on internal drive. Message: error on internal data transfer between computer and drive.