Applescript: email multliple file attachements

Hello, I setting up a rule using action script in conjunction with Hazel, but im having some problems on the action scropt end. Seems everything works fine except it wants to send a separate email for each attachment, instead of placing them all to one email Can anyone help me with this, this is the code im using:
set mailAttach to (POSIX path of theFile)
set subject_ to "images update!"
set the_content to "Attention, New files have been added"
tell application "Mail"
          set newMessage to make new outgoing message with properties {subject:subject_, content:the_content & return & return}
          tell newMessage
                    set visible to false
                    set sender to "[email protected]"
  make new to recipient at end of to recipients with properties {[email protected]@mac.com"}
  make new attachment with properties {file name:mailAttach} at after the last paragraph
  (* change save to send to send*)
  send --<<<<---------------- change save to send to send or send to save to save to drafts
  (* change save to send to send*)
          end tell
end tell

At this time playing WAV files from attachments is not possible. You may want to Submit feedback on this and put in a request for it to be a added feature.
http://www.apple.com/feedback/iphone.html
Customers feedback influences changes the most.

Similar Messages

  • I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to sen

    I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
    Gail

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

  • IDOC to email (flat file attachment) scenarion

    Hello everybody,
    I'm working with XI 3.0
    I have a scenario IDOC - XI - flat file, but the file need be sent by email and not by FTP.
    Using normal configuration of email communication Channel , i notify is not possible sent a flat file, but only XML.
    So i decided to devide interface in 2 step.
    1- IDOC - XI - FTP for create the file
    2- FTP - XI - EMAIL for send file to destination as a email attachment.
    this is a correct approach?
    IT's possible take a file from a FTP server and send by email as an attachment (without any mapping)?
    There is an document example?
    thanks in advance
    Alex

    Hi,
    its possible in one scenario as well,
    one of following example will help you have attachments.
    http://www.riyaz.net/sap/xipi-sending-emails-using-xi-mail-adapter/83/
    http://wiki.sdn.sap.com/wiki/display/XI/DynamicEmailAttachmentnameforReceivedMails
    Besides these you also need to use module adapter.
    use MessageTransformBean for content conversion.
    use link - http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/frameset.htm
    Also it is possible that you may have to use another module as payloadswapbean.
    But first 2 suggestion will work.

  • IPhone email WAV file attachment

    Hello. My company uses a system for voicemail, that will send an email to me with an attached WAV file with the voicemail in it.
    When I check the email and then select the WAV file attachment to play, it pops up with an error that says "this movie could not be played".
    I have researched this and noticed that the WAV file that is sent as an attachment is ecoded with "ACM Waveform". The only WAV file encoding that I found works on the iPhone is "PCM Windows".
    Is there any way to be able to listen to the ACM WAV file? Anyone know of a fix?
    WAV files encoded with ACM, ADPCM and PCM all play fine in iTunes. WAV files encoded with DVI do not however. Yet only the PCM encoded file will play on the iPhone.
    Any suggestions?

    Sure you can. I can send myself emails with WAV files and they open fine using the media player on the iPhone, provided they are encoded with Windows PCM. Anything else does not work.
    That is my issue. The WAV files that my system sends me are encoded with ACM. I need them to be PCM.

  • Cannot send emails with file attachment greather than 40kb

    Hello,
    we have an issue with our Z10 devices.
    Emails are not beeing sent with a file attachment greater than 40kb.
    After sending it pops up an red exclamation point.
    Z10 Firmware version: 10.1.0.4181
    Blackberry Enterprise Service 10
    Microsoft Exchange Server 2010 with activesync enabled
    EMC -> Exchange ActiveSync Mailbox Policies: Sync Settings -> No limitation for e-mail size and maximum attachment size

    I have the same environment as you and do not have the issue with my Z10 on OS 10.1.0.2019
    Maybe a call into BlackBerry support is needed.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • IPhone: Create email with file attachment

    I've been thinking of how to backup application data, and decided I might have my App export data as a .csv file and email it to the user. While I could include the .csv data within the body of the email message, I would like to save the user having to cut/paste, by creating the .csv and attaching it (programmatically) to the email.
    Creating and sending the email, and creating/saving the .csv is no problem,.. but having my App create the email and attach the .csv data file is...
    Anyone know how I could [begin to] accomplish this?

    the iPhone SDK doesn't allow for direct attachments to emails via the built in email URL scheme (for details of the mail URL Scheme see: http://www.ietf.org/rfc/rfc2368.txt ).
    You can choose to embed your own SMTP client inside your app which would let you send an attachment, but then the user would have to enter their mail server information again for your app (because you can't access the keychain with their mail credentials in it).
    rob.

  • How to send an email with file attchment

    hi,
    I have develop one application using HTML DB.In that sending an e-mail facility is also there. I am able to send an email using an the HTMLDB_MAIL.send() procedure. But using this procedure i am unable to attach a file to the mail.Is there any way to send an email with file attachment.
    Thanks in Advance.

    hi,
    I have develop one application using HTML DB.In that sending an e-mail facility is also there. I am able to send an email using an the HTMLDB_MAIL.send() procedure. But using this procedure i am unable to attach a file to the mail.Is there any way to send an email with file attachment.
    Thanks in Advance.

  • Opened a bogus email *.zip file from amazon that put two files in my downloads folder OSX 10.8

    Hi
    Can anyone advise my next steps to take, I accidentally opened a bogus email *.zip file attachment from 'Amazon" It unzipped an put two files in my downloads folder one appeared to be a *.exe file. They were deleted immediately along with the email.
    Now I am terrified that there is something lurking on my system...trojan/ keylogger/ virus..
    I am no expert so can anyone give me help!
    My mac is 8 months old running OSX 10.8 with latest updates.
    Thanks Mick

    Thank you both, you have put my mind at rest.
    Normally I am red hot at intercepting bogus emails, not today it would appear!
    I actually was in the process of deleting it and double clicked the file by complete accident, and in a flash it had opened up and put the files in the folder, I spent the rest of the afternoon panicing and reading all forums blogs etc..
    Actually Thomas I found your blog and took some good tips from it, one of them was to switch java off immediately.
    Thanks again
    Mick

  • Burst by email - specify file name

    Hello All,
    I have implemented the bursting by email functionality for one of my reports. I have tested this report. Everything is working fine. I am able to receive emails with file attachements.
    The problem is the attached file names are prepended with some xmlp_12345678_ .
    Ex: if the building_id is 'AB0001' , the file name in the attachement is xmlp_23456789_AB0001_1.xls.
    I would like to know is there any way to get it as AB0001.xls.
    I tried to give bldg.building_id||'.xls' as one of the parameters in bursting definition. But, looks like its ignoring it. The file attachment is still prepended with some xmlp and some auto generated number.
    Here is the bursting definition
    select distinct bldg.building_id KEY,
    'Report_with_status' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'EXCEL' OUTPUT_FORMAT,
    'EMAIL' DEL_CHANNEL,
    'my email address' PARAMETER1,
    null PARAMETER2,
    'my email address' PARAMETER3,
    'Report for '||bldg.building_id PARAMETER4,
    'Please find the attached report' PARAMETER5,
    'true' PARAMETER6,
    'Do_Not_Reply email address' PARAMETER7,
    from building bldg
    Any ideas are greatly appreciated.
    Thanks in advance.

    Probably, you have to request for enhancement on this from standalone bip.

  • IMAP. Two Leopard Macs. 1st Mac sees file attachment 2nd Mac doesn't

    I use two Mac computers both on 10.5.2, each running Apple Mail 3.2 to access Gmail's IMAP.
    Worked well for ages, but recently, in one computer, I sent an email with a very large 3MB file attachment, and then transferred it to a folder. That was then reflected in Gmail's IMAP interface. Hence, as far as Gmail is concerned, the file attachment and email are there.
    But when I used the 2nd Mac to download the same email, the email is there, but no file attachment.
    When I open the particular email, there's an error message at the top of the email:
    Apple-Mail-9-1026228142
    Content-Type: text/plan; charset=WINDOWS-1252; format=flowed; delsp=yes
    Content- Transfer-Encoding: quoted-printable
    I've never seen that before.
    Also, in the 2nd Mac, in Apple Mail, there is no paper clip icon that is usually associated with a file attachment.
    Even stranger: A few days later, I initially used the 2nd Mac to download an email with a file attachment. So the email and file attachment are on the 2nd Mac. I verify that the email+file attachment are on Gmail's IMAP web interface.
    The strange thing, however, is that the 1st Mac now only seems the same email, but no file attachment.
    It almost seems as if whichever Mac I first use (either the 1st or 2nd Mac) to download an email with file attachment, that initial Mac sees the attachment. But subsequently, when the other of the Macs downloads the same attachment, it does not have the attachment.
    As said, Gmail's webmail IMAP indicates the attachment is there.
    Any ideas?

    I figured it out. I had been connecting to my router with Ethernet AND Airport (both were turned on in my Network preferences, and both had a green-light status of 'connected'). Don't know why that would have affected it, but when I turned OFF the airport connection everything was instantaneously corrected.

  • After I Update to IOS 7.1 I can't open the excel file attached in  my email

    After I updated my Iphone 5s from IOS7.0.6 to IOS7.1 when i check my email i can't open excel file attached in my email i check with my frineds phone thy have same issoue

    David_PDX wrote:
    Hi Alex,
    The trick to this whole thing is to scroll to the bottom of the message. There should be a dashed line at the bottom of the email message with text underneath it that says, "This message was downloaded as plain text." Underneath that it should say (in blue hyperlink text) "Download full message". Select that hyperlink, and the Excel file should download completely. You should then be able to select the document and have it open correctly.
    I have had the same concern regardless of file format that is sent, so I do not believe your issue is with file format. Hope this helps.
    I've seen the same thing happen with images, which it displays in a corrupted form. It's fixed by downloading the full message.
    There's a more serious side effect of this, which I've now seen with several types of files. If one FORWARDS the email to someone else, the attached files it sends them are CORRUPTED and unopenable too. In the case of a Word files I looked at, it had dropped the last two bytes of the file.
    The workaround for that is to download the full message before forwarding.
    I'm seeing this happening with so many types of attachments that I'm assuming it affects them all. Please everyone report this to Apple feedback (http://www.apple.com/feedback/). It's one thing not being able to open a file on your device, it's another to have files corrupted permanently just by forwarding.

  • How to use UTL_SMTP to send email with existing file attachment

    Hello! I am trying to create a pl/sql procedure that lets me send an email and include an existing file to a email address. So far, I found information on how to send a file and create an attachment with information I put in the procedure. This is NOT what I'm trying to do. I'm trying to send an email and include an attachment for a file that already exists. I need the pre-existing file to be sent to the email recipient.
    This is how far I've gotten, but this only allows me to CREATE an attachment with the information I put in it from the procedure. I got it from the following site:
    http://www.orafaq.com/wiki/Send_mail_from_PL/SQL
    DECLARE
       v_From       VARCHAR2(80) := '[email protected]';
       v_Recipient  VARCHAR2(80) := '[email protected]';
       v_Subject    VARCHAR2(80) := 'Weekly Invoice Report';
       v_Mail_Host  VARCHAR2(30) := 'mail.mycompany.com';
       v_Mail_Conn  utl_smtp.Connection;
       crlf         VARCHAR2(2)  := chr(13)||chr(10);
    BEGIN
      v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
      utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
      utl_smtp.Mail(v_Mail_Conn, v_From);
      utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
      utl_smtp.Data(v_Mail_Conn,
        'Date: '   || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
        'From: '   || v_From || crlf ||
        'Subject: '|| v_Subject || crlf ||
        'To: '     || v_Recipient || crlf ||
        'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
        'Content-Type: multipart/mixed;'|| crlf ||
        ' boundary="-----SECBOUND"'|| crlf ||
        crlf ||
        '-------SECBOUND'|| crlf ||
        'Content-Type: text/plain;'|| crlf ||
        'Content-Transfer_Encoding: 7bit'|| crlf ||
        crlf ||
        'This is a test'|| crlf ||     -- Message body
        'of the email attachment'|| crlf ||
        crlf ||
        '-------SECBOUND'|| crlf ||
        'Content-Type: text/plain;'|| crlf ||
        ' name="ap_inv_supplier_cc10.txt"'|| crlf ||
        'Content-Transfer_Encoding: 8bit'|| crlf ||
        'Content-Disposition: attachment;'|| crlf ||
        ' filename="ap_inv_supplier_cc10.txt"'|| crlf ||
        crlf ||
        'TXT,file,attachment'|| crlf ||     -- Content of attachment  (THIS IS MY PROBLEM!  I NEED TO BE ABLE TO ATTACH AN EXISTING FILE, NOT CREATE A NEW ONE)
        crlf ||
        '-------SECBOUND--'               -- End MIME mail
      utl_smtp.Quit(v_mail_conn);
    EXCEPTION
      WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
        raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    /

    First, you must create a directory object
    create directory ORALOAD as '/home/ldcgroup/ldccbc/'
    /Study the Prerequisites in the link I posted above, or else you will not be able to read/write files from the above directory object
    "fname" relates to the file name that you read from.
    In the code below, it is also the name of the file that you are attaching.
    Although they can be different!
    l_Output is the contents of the file.
    declare
    vInHandle  utl_file.file_type;
    flen       number;
    bsize      number;
    ex         boolean;
    l_Output   raw(32767);
    fname      varchar2(30) := 'ap_inv_supplier_cc10.txt';
    vSender    varchar2(30) := '[email protected]';
    vRecip     varchar2(30) := '[email protected]';
    vSubj      varchar2(50) := 'Weekly Invoice Report';
    vAttach    varchar2(50) := 'ap_inv_supplier_cc10.txt';
    vMType     varchar2(30) := 'text/plain; charset=us-ascii';
    begin
      utl_file.fgetattr('ORALOAD', fname, ex, flen, bsize);
      vInHandle := utl_file.fopen('ORALOAD', fname, 'R');
      utl_file.get_raw (vInHandle, l_Output);
      utl_file.fclose(vInHandle);
      utl_mail.send_attach_raw(sender       => vSender
                              ,recipients   => vRecip
                              ,subject      => vsubj
                              ,attachment   => l_Output
                              ,att_inline   => false
                              ,att_filename => fname);
    end;
    /

  • How can I attach a picture to an email in file format not as a picture

    how can I attach a picture to an email in file format,

    Please pardon the intrusion…
    Hi, Leroy! 
    Congratulations on advancing to Level 6!
    At the Water Cooler in the Level 6+ Lounge, we are throwing virtual confetti in celebration of your attainment of Level 6-dom. Would you care to join us at the Water Cooler?
    Towards the bottom of the index on the Apple Support Communities Home Page you soon will find the Lounge link available to you. It should work for you within the next 24 hours if all goes as it should.
    Hope to see you there soon!

  • How do I get an email file attachment, any extension, off of my phone?

    All I want to do is get an email file attachment off of my phone and on to my computer so I can use it.  I don't want to open it on my phone, it could be an AutoCAD file, a programming langauge file, etc.  I want the option to save the attachment to local memory on my phone and then transfer it to my PC via USB.   This worked all the time with my Blackberry, but it seems impossible or extremely difficult with the Apple IOS. The available phone memory would look like a USB stick drive to my PC.  I am at job sites all the time where I do not have internet access from my PC, but I am within the cell network area of coverage so this would be an option.
    I spent almost an hour with Apple Tech support today and they must have thought that I was on drugs asking for such a simple thing.  Apparently, the available phone memory is protected by the IOS so that the PC can't see it or use it.  They said this feature would be all App based.  The key then is finding an App that would allow the email client on the phone to give the user the option to open or save the file to a location that my PC can see. Does anyone know of such an App?   If I can't find a workable solution I may have to go to an Android device.  Thanks.

    So I understand where you are coming from. The best way is to use the cloud. What you need to do is download a program like dropbox, box.net or sugar sync; there are tons of these apps but those 3 are the most widely supported. Once you download it on your device you can then download it onto your computer by going to their respective sites. These will automatically sync your documents over the air when both your computer and phone are connected to the internet. But if you have no internet service on your computer here is what you do; go to itunes and plug in your phone> go over to the APPS tab on the top> scroll to the bottom of the page and it will say file transfer. This will allow you to pull files from those cloud apps even without service and voila you have your files on your computer even without Wi-Fi or hotspots. I hope this helps!
    EDIT; the best app to use file transfer with is good reader because the cloud apps won't sync directly with iTUnes. You will have to pay for it but it will allow you to connect all your cloud services to it and it can edit and view most files. I use it constantly for my work and I wouldn't be able to live without it even if I wasn't using it for file transfer. Sorry I forgot that in my post, this is an necessity to use the file transfer in iTunes.
    Message was edited by: MFS APPLE PRO

  • How to email a .zip file attachment from PC

    Hi,
    Please, let me know how to email a .zip file attachment from Presentation Server.
    Thanks,
    Madhuri.

    Hi,
    try fm SO_DOCUMENT_SEND_API1
    it's well documented (look with SE37)
    and look here:
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    regards Andreas

Maybe you are looking for