How can I send an attachment ?

hello,
i'm new into java programming and at the moment i 'm making an email programme.
i explain how it works:
i've got an asp application and when everything is filled in (the user can schedule its email to whenever he wants it to be send), it writes everything to the database.
there is a programm (Java code) installed on the exchange server that controls if there are messages to be send.
if there is, it gets everything out of the database to send the message.
i don't have any idea how to send an attachment with the email..... hope somebody can help me!!!!!!!!!!!!
allready thanks for your time!

Is this for your e-mail? What program are you using to obtain your e-mail if this is the case? Are you using something such as Outlook Express, Windows Mail, Windows Live Mail, or are you using your Web Browser?
========
The first to bring me 1Gbps Fiber for $30/m wins!

Similar Messages

  • How can i send picture (attachment) with a direct wew in my message

    comment puis-je voir directement les images que j'envoie par par Mail Icloud et que les récipiendaires puissent les voir directement

    yes, thanks but now my problem is in my function associated
    to this link :
    function SendPost()
    var toto="toto";
    getURL("
    http://127.0.0.1/board/scheduledfirst.php",
    "_blank", "GET");
    The function is executed but after in php i can get anything
    with echo ($_GET["toto"]); echo ($_POST["toto"]);
    Why ?

  • How do I send an attachment through email

    How can I send an attachment through email.

    This is not a firefox problem, but see analytical information in this link:
    [http://www.ehow.com/how_4942_send-e-mail.html How to Send an E-mail Attachment]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • How can I send a text with a picture attachment on my new iPhone5c?

    How can I send a text with a picture attachment on my new iPhone5c? It won't send or recieve!!.

    Does your carrier support it?
    Follow the steps in this guide.
    http://www.imore.com/how-send-photo-using-imessage

  • How can I send pictures not embedded, but as an attachment? THX

    How can I send pictures not embedded, but as an attachment? THX

    I had the same problem. I closed  the message, tried again selecting the correct imessage contact number and it worked.
    I'm guessing I first selected a non-imessage phone number and it got stuck in a gray/can't send mode (bug).

  • How can I download an attachment on my iPAD 2, edit it and re-send?

    How can I download an attachment on my iPAD 2, edit it and re-send?
    Also how do I send a document from notes as an attachment on an email?

    Depends what kind of application you are downloading... U can use 3rd party software such as docs to go (it covers most of common documents). Else you can use word, numbers, or keynote apps.
    Just pressed and hold the attchment until a balloon appeared asking u whether u want to open in docs to go or quick look or u can swlect "open in" and it will give u other apps option.
    If u use docs to go, Just edit the docs and send from it
    For notes, i dont think u cant send it as attachment. However, you can just send it on emails. Just press the envelope button on the bottom of the note and it automatically put all the notes into the message in email
    Good luck

  • How can I send a .pdf attachement using maildemo_sql.txt

    Hi
    I have created a PL/SQL package using the following link.
    Could you plese tell me how can I send a .pdf as an attachement using the follwing package?
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/maildemo_sql.txt
    regards

    When using the "MailDemo" package, in order to send email attachements, the document you attach MUST reside on the Database Server or UTL_SMTP or UTL_MAIL Oracle packages won't be able to find the file. I recommend you define a location (directory) on the database server file system where all email attachements must be stored and reference this location using an Oracle Directory object. You will need to modify the BEGIN_ATTACHMENT procedure to add the file location referenced by the Oracle Directory object to the filename parameter. For example:
    /* Create the Oracle DIRECTORY */
    CREATE OR REPLACE DIRECTORY FILE_ATTACHMENTS as '/temp/attachments/';
    /* Modification to MAILDEMO */
      PROCEDURE begin_attachment(conn         IN OUT NOCOPY utl_smtp.connection,
                        mime_type    IN VARCHAR2 DEFAULT 'text/plain',
                        inline       IN BOOLEAN  DEFAULT TRUE,
                        filename     IN VARCHAR2 DEFAULT NULL,
                        transfer_enc IN VARCHAR2 DEFAULT NULL) IS
      BEGIN
        write_boundary(conn);
        write_mime_header(conn, 'Content-Type', mime_type);
        IF (filename IS NOT NULL) THEN
           IF (inline) THEN
           write_mime_header(conn, 'Content-Disposition',
             /* 'inline; filename="'||BFILENAME('filename||'"'); */ /* Line BEFORE */
               'inline; filename="'||BFILENAME('FILE_ATTACHMENTS',filename)||'"'); /* Line AFTER */
           ELSE
           write_mime_header(conn, 'Content-Disposition',
             /* 'attachment; filename="'||filename||'"'); */  /* Line BEFORE */
               'attachment; filename="'||BFILENAME('FILE_ATTACHMENTS',filename)||'"');  /* Line AFTER */
           END IF;
        END IF;
        IF (transfer_enc IS NOT NULL) THEN
          write_mime_header(conn, 'Content-Transfer-Encoding', transfer_enc);
        END IF;
        utl_smtp.write_data(conn, utl_tcp.CRLF);
      END;If you have to send the file attachment from the User's workstation, then I suggest you either add the ability to FTP a file from a users workstation to the Database Server; use a javabean to send email directly from the client workstation or use WebUtil to open an Outlook message and attach the file using Outlook. I personally prefer using the database package to send email because you have a central point that all processes use and that makes the process easier to maintain. If you opt to try the Java Bean or WebUtil options, here are some great links that work really well also.
    Java Option:
    Send email with html body and local file attachments
    WebUtil Option:
    Sending Email via Outlook via forms
    Re: Sending email from Oracle Forms with attachments
    I cannot confirm the WebUtil options work as I have not tested these myself, however, I have tested the Java option and it works fine.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • HT2508 My amp has an USB input but when I attach my mac pro to it, and set the input to the USB setting, no sound comes out. I looked at the system settings, but none of them produce a different outcome. How can I send the music through the USB out to USB

    My amp has an USB input but when I attach my mac pro to it, and set the input to the USB setting, no sound comes out. I looked at the system settings, but none of them produce a different outcome. How can I send the music through the USB out to USB in?

    AFAIK cameras offer their own built-in format utility for inserted SD cards.  You should use that.  Otherwise, refer to the manual that came with your camera to determine precisely how your SD cards need to be formatted to work properly.  Personally, I'd suggest Partition Scheme: MBR, and Filesystem: FAT32.
    Try to limit the number of formats you perform on the SD cards, though, as you're reducing their lifespan.  I believe formatting causes re-writes to a portion of the SD card that has fewer read/write cycles than the rest of the card as a whole.

  • How can I send e-mail with attachment from oracle 10g?

    How can I send email with attachment from oracle 10g?

    hi you can achieve the same thing from database tier of unix.

  • How can I send more than one document on an email

    how can I send more than one document on one email

    Thank you but I understand that form of attaching a document. However when I select a document then click 'Share' I have the option of sending the document by email as a word or pages document or pdf, what I want to know is can I use this procedure to send more than one document per email and if I can how?

  • How can i send video from my iphone 4s to email

    How can i send video from my i phone 4s to an email address?

    Mail attachment size is determined by your ISP, & limit that size to betweem 10MB's & 25MB's, depending on ISP. So, unless it is a very small video, you won't be able to.

  • Using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    Thanks for your swift response.
    That sounds like a good solution, but the code I have on frame 2 is this
    timer = 0;
    countup = function(){
    timer++;
    countupInterval = setInterval(countup,100);
    If I added the same actionscript to frame 3 which has a dynamic textbox with a variable timer attached wouldn't it just put the timer back to 0? What I want is the last known value that was given when it was in frame 2.
    I am thinking of temple run here, I am trying to caculate the total distance(set in the timer variable) from the previous try.
    Hope this makes sense.
    Chazwick

  • How can I read mail attachment for making it to the payload?

    Hi everybody,
    in the following my scenario:
    I have an incoming message with attachment by the mail sender adapter using PayloadSwapBean (because of other messages I have to use the bean). I want to send this attachment by using the mail receiver adapter to fix E-mail-address keeping the FromMailAddress, the MailSubject and the FileName
    without the metadata as additional attachment.
    I have found a thread where it is explained how to handle "payload as mail attachment and dynamic filename" by java-mapping. So far so good. My question is: How can I make my attachment to be the payload? How can I read the attachment by java-mapping?
    Thanks for help.
    Reagrds,
    Sebastian Linke

    USe payloadSwapBean for this to swap your payload and attachment
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    Rajesh
    Edited by: Rajesh on Feb 5, 2009 5:29 PM

  • How can I send a document in iworks as a pdf file?

    How can I send a document in iworks as a pdf file?  My friends who have windows are not able to open any attachment I send them.  Very frustrating.

    Click 'Print' - then in the dialogue window in the bottom left, select save as PDF.
    Done!

  • How can I send a large pdf file (42MB) attachments by icloud ??

    How can I send a large pdf file (42MB) attachment by email in Icloud ???

    That's a bit excessive.  The website http://convert.neevia.com/pdfcompress/ can compress files up to 5 MB in size. You may want to print to PDF single smaller pages, or print the document and scan it one page at a time to PDF, and then use the PDF compress tools to shrink it further.

Maybe you are looking for

  • XML parsing error: web-jsptaglibrary_1_1.dtd not found

    I'm getting the following Exception while Tomcat is parsing my welcome jsp page: exception org.apache.jasper.JasperException: XML parsing error on file /WEB-INF/struts-template.tld: Internal Error: File /javax/servlet/jsp/resources/web-jsptaglibrary_

  • Reg: file security in PI

    Hi guys, I want to deliver files from PI securely.  which one is the right one and please justify the option....... secure file transfer protocol or file transfer protocol w/ssl. Thanks, MS

  • Outbound delivery scenario

    Hi friends,   I am working on outbound delivery scenario where there is integration with the fixed devices through device controller. I am doing following process 1. I am commissioning tag for the item to issued. 2. Then i am loading this tagged item

  • HELP!!! multi-class program

    I have to write a program which uses the code below (Input3). I need to create a Team class and a Player which will draw the info from Input3. These three classes will then be executed through a Main class. I need to be able to store, display, and so

  • Can't deactivate Lost Mode, help!

    Hi, I am selling my iPhone 4 to a friend. I have therefore reset all the settings and removed the iPhone from iCloud and Find My iPhone. However, I accidentally turned on Lost Mode and thus cannot deactivate this anymore, since the iPhone is not in m