Send email via Forms 6.0

hi, I tried article-id = 61736.1. I wanted to send txt file by email. but
couldn't. my attachement file : c:\hello.txt and send it. when I
entered inbox, attachement file appeared "Untitled".
cutted source is below
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);
OLE2.SET_PROPERTY(attachment, 'source', 'C:\hello.txt');
what can I do?
many thanks.

Hi Zahid
From Forms 6.0, you need to call Reports using standard SRW.Run_Product call. Please refer to the product document for other SRw calls which can be used for Forms/Reports integration. In this SRW call, you need to sent the runtime argument to Reports. In your case, write a pl/sql code which would set the destype=mail, desformat=html and desname set to the email address for reciever which you would be fetching from DB in Forms application. And then send these arguments in the SRW call to run the Reports.
Thanks
Rohit
Thanks
Rohit

Similar Messages

  • Sending emails via Forms or pl/sql

    Does anyone know how to implement UTL_SMPT for sending emails via Forms or pl/sql ?
    If not, any other suggestions for sending a newsletter-type of email to a fairly large list of people ?
    Thanks,
    Bob

    If your are using microsoft windows you can achieve this by using MAPI SESSION & MAPI MESSAGE ActiveX Control.
    These controls are not installed in windows by default, you have to install these from some cd like visual basic, visual studio etc.
    Zulqarnain

  • Help: how to send emails from FORMS?

    Are there simple steps to send emails from FORMS?
    Thank you in advance.
    Jimmy

    I'm sure there are many ways to send emails from Forms. Personally I never had to do this, but I can imagine following ways.
    a) use UTL_SMTP-Package to send the email via your database
    b) use a Java-Call
    Peter

  • Cannot send email via Hotmail through port 587 with Secure Connection (SSL) set

    Something is blocking my attempts to send email (with Outlook Express) via my hotmail.com account. The error I receive is as follows:
    Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'Hotmail', Server: 'smtp.live.com', Protocol: SMTP, Port: 587, Secure(SSL): Yes, Error Number: 0x800CCC0F
    When Hotmail.com first changed over to a POP3 server (Sept 2009), I could send emails through them using port 587, which they require. But then something happened, with no changes on my part, to disable my ability to send.
    I have checked and rechecked my Outlook Express account settings. I can send email through another third-party mail account (at 1&1 Internet.com) using port 587, which does not require setting SSL to yes. I can also ping the Hotmail SMTP server via port 587 and receive a response from it.
    I connect to Verizon DSL via a Westell 327W modem/router. Clearly it is not blocking port 587 without SSL. Does it have the capability to block SSL traffic? Or is the Verizon server the culprit, not allowing emails to be sent via Hotmail.com?
    Two different computers on my LAN have the same problem sending emails via Hotmail.com. I have tried everything the Hotmail people have suggested; at this point they think it is an ISP problem, hence this post. This problem doesn't make sense to me and is driving me crazy. Can anyone help me with this?
    Thanks.

    You can still have your reply address set to your hotmail address. And you don't have to really remember to do anything. Configure your client for the HOTMAIL account with Verizon's outgoing server. It will automatically send via Verizon. You don't reveal your verizon.net address, you are just using their server to transmit.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Have just installed ios8 on our iPad. Can no longer send emails via Hotmail. BT email says that if can't work on this device. When will these faults be fixed?

    Have just installed ios8 on our iPad. Can no longer send emails via Hotmail. BT email says that if can't work on this device.
    When will these faults be fixed?

    does it error out or does it just not go through?
    have you tried to delete and then re-add your hotmail address? Using the outlook preset

  • HT4061 since downloading IS07 I can no longer send emails via hotmail on my Iphone 5

    Since downloading IOS7 to my iphone 5 I can no longer send emails via my hotmail account  - receiving ok though.  How can I fix this?

    Chris
    thanks to your prompting, i found another mail icon that when touched requested a password. i now can send photos once again
    woohoo
    thanks again
    bpb

  • I can no longer receive or send email via my Yahoo account  from my iphone6.  I've downloaded several "help guides" from the internet and tried them, including deleting the Yahoo account and re-adding it via imap.  But nothing seems to work.  Any ideas?

    I can no longer receive or send email via my Yahoo account from my iphone6.  I've downloaded several "help guides" from the internet, deleted and re-added the account via imap settings.  Nothing seems to work.  Any ideas?

    Use the yahoo app if available?

  • Is anyone else having trouble sending email via O2 using Apple Mail (However, I can receive fine)

    Since the upgrade to Mountain Lion (OSX 10.8) I have noit been able to send email via Apple Mail through the O2 network in the UK. O2 say they are aware of this but that it is something that Apple need to address via a patch.

    Following a 45 minute call to O2 yesterday I've just had a further conversation with O2 who advised me to change my 'port setting' to 25. Mail now works fine! Panic over.

  • I can't send emails via mail. I can receive but not send. I have set up gmail on mail. Any ideas?

    I can't send emails via mail. I can receive but not send. I have set up gmail on mail. Any ideas? No problems with the set up previously to this.

    Go to Mail Preferences- Accounts and confirm you are providing Gmail what they require to send and receive mail. And DON'T specify Secure Socket Layer. Some mail accts don't like SSL
    Good Luck to you.

  • How can i send emails from forms

    I need to be able to send emails from forms 6.(assuming the pc is running Outlook) What is the best way of doing this? Would OLE or DDE control of Outlook be the easiest method?
    If anyone has done this please let me know.

    See:
    iOS: Unable to send or receive email
    I would Google for:
    setup verizon email on phone
    for the settings to use.

  • Gmail taking ages to send email via mail app

    I bought a MacBook air yesterday and set up my gmail account on the mail app. Everything seemed to be working okay at first but now it's takkng at least five minutes to send a plain text email, one email I tried sending last night didn't send until this morning! I tried changing the SSL port to 25, 465 and 587 not only do they not work but then it stops my mail from moving into the folders or trash, they move and then go back to my inbox.
    Please help!

    Stephen Schulte2 wrote:
    When I am in a hotel out of town or overseas- or just anywhere where I don't have my home ISP - how can I not only RECEIVE but also SEND eMail via my Mail program?
    If your ISP is like mine, it authenticates you for outgoing e-mail by being able to determine that you're accessing the Internet from within their network. If your ISP is so configured, they'll offer the ability to authenticate to their SMTP server with a password. My ISP does not.
    However, MobileMe does provide its own authenticating SMTP server that you should be able to use from anywhere. Try an SMTP server of smtp.mac.com (smtp.me.com will probably also work) with settings of "Use default ports", "Use Secure Sockets Layer (SSL)", and "Authentication" by password, your "User Name" the part of your MobileMe ID before the "at" sign, and your password your MobileMe password.
    For non-MobileMe outgoing e-mail, you'll need to locate an SMTP server that you can use.
    Also: Anyway to attach more than 1 file (say photo) at a time using MobileMe and my mail account? For 22 small photos do I have to hit attach each time? I can't seem to select the folder they are in and get all 22 to attach...
    I haven't tried that, but I would expect to have to attach them one at a time.

  • HT201320 I have an Apple Ipad.  I was having problems receiving and sending emails via my yahoo email account.  I deleted the account and then tried to install it but it won't connect to server. Could you let me know what I do please?

    I have an Apple Ipad.  I was having problems receiving and sending emails via my yahoo email account.  I deleted the account and then tried to install it but it won't connect to server. Could you let me know what I do please?

    I think you have to turn off Private Browsing.
    Tap "Private" on Safari Screen to disable Private Browsing. When top of screen is white, Private Browsing is off.
    http://i1224.photobucket.com/albums/ee374/Diavonex/547958b4a8c01ac084dd6649e8386 a0f_zps12fa0cca.jpg

  • Cannot receive/send emails via Mail on Mac using 10.6.8, keeps asking for password, very frustrating. Any ideas please? Regards

    Cannot receive/send emails via Mail on Mac using 10.6.8, keeps asking for password, very frustrating. Any ideas please? Regards

    One more time, iCloud mail accounts are .me, .mac and .icloud. New ones are only .icloud.
    iCloud mail is a standard Imap account that can be used with any mail client in existence. But You are talking about the ability to automatically setup an iCloud account in mail, which did not exist until 10.7.2.
    You can use password or token authentification with iCloud mail (in Mail) it is your choice.
    Set the account manually, set it as Imap, use imap.mail.me.com (no P number) for the incoming email and smtp.mail.me.com as the outgoing server.
    The full settings (ports and security) are here. Use them and it will work, regardless of domain (mac, me and icloud addresses all use the same settings.
    IMAP (Incoming Mail Server) information:
    Server name: imap.mail.me.com
    SSL Required: Yes
    Port: 993
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    SMTP (outgoing mail server) information:
    Server name: smtp.mail.me.com
    SSL Required: Yes
    Port: 587
    SMTP Authentication Required: Yes
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    Note: If you receive errors using SSL, try using TLS instead. SSL is required for both IMAP and SMTP connection with iCloud. POP is not supported by iCloud. 
    For more information on how to use this information with your email application, consult your application's documentation.

  • Cannot send emails via at&t

    I have at&t internet and cannot send using my at&t email.  I can send via gmail.  Or if I go use someone elses internet, not being at&t, I can send. At&t said it is a mac issue. I told them it is their issue with macs since I can send using other providers.
    Anyone know of a fix?

    Does not help.. my problem is a little different
    I have an iMac and I cannot send emails via outlook 2011. I have 3 emails stuck in the sent box... They are not in my sent or inbox. Every time I send an email it first tries to send these 3 mails. for 2 I get an error code 3210 and for one "5.1.2 or other punctuation after the recipient's email address. g5sm23942864eem.4". I have an euronet account and not a hotmail account.

  • Cannot send emails via outlook 2011

    I have an iMac and I cannot send emails via outlook 2011. I get an error code 3210. Can anyone help?

    Does not help.. my problem is a little different
    I have an iMac and I cannot send emails via outlook 2011. I have 3 emails stuck in the sent box... They are not in my sent or inbox. Every time I send an email it first tries to send these 3 mails. for 2 I get an error code 3210 and for one "5.1.2 or other punctuation after the recipient's email address. g5sm23942864eem.4". I have an euronet account and not a hotmail account.

Maybe you are looking for

  • Cannot download apps at this time

    Hi I have noticed that recently when I either download an app or update a certain app I get a pop up on the screen that says: Unable to purchase "Amazon mobile"and 5 other items Could not be purchased at this time Please try again later. Now it's bee

  • Adapter Module Migration in PI 7.1

    Hi, I have migrated some code for Adapter Module from PI 7.0 to PI 7.1. I have deployed the SDA file on the server and it was successful. But in the communication channel monitoring i am getting below exception. Message processing failed. Cause: java

  • Posting not possible in Purchase Order created for Asset.

    Hi All I have created a Purchase Order for Asset. While making down payment for the same through f-48, I am not able to post the same. How I will take care of this? Please guide how to make the posting..... Thanks Ruby

  • Border Issue w/ Image Links

    I have been trying to get the borders that I put around images that are linked to show up black instead of the typical blue/purple combo. I've used CSS to get this effect, and it works great in Firefox, Safari, and Netscape, but won't work at all in

  • Sharing itunes on another laptop

    Hi there. I am based in London UK - tried transferring my iTunes folder from one lap top to a new one, but I couldn't get the songs to play, kept coming up with "can't find the file". So I tried to share my iTunes library instead (about 10gb total).