Adding / Positioning Email attachments  MAIL 7.3

Recently upgraded to MAVERICK  10.9.3  along with MAIL 7.3.     Have a problem positioning attachments inside outgoing emails.
Whenever I select an attachment it always ends up at the very end of the email.  In previous versions of Apple Email the attachment would be placed starting where the cursor was positioned just before selecting the attached "paper clip" icon.  It is only a slight annoyance.
Just wondering if there was a new trick or command that places attachments where one intends them to be.
Thanks,
John L.

Hey brianfromlydney,
Thanks for the question. It sounds like you may have already attempted the suggestion in the following resource, however I wanted to provide it to you anyway as it links to a great Microsoft support document:
Mac OS X Mail: What is a winmail.dat attachment?
http://support.apple.com/kb/ht2614
Thanks,
Matt M.

Similar Messages

  • .zip extensions added to email attachments

    I work ay Sun Microsystems and use Neo Office as a Mac compatible office suite to Sun's Star Office. Since upgrading to Tiger, when people send me an email with a Star Office document attached (.sxi, .sxc, .sxw etc) Mail adds a .zip extension to the file. The docs still open in Neo Office, or Open Office, but I would like to stop Mail from adding the .zip extension to the file name. Any ideas?

    Roadcaptain
    Welcome to discussions. The following is taken from Sun's site:
    The StarOffice file format is a native XML format without any binary data. Sub-elements, such as pictures, are placed in their original file format within the XML file. The XML format specification is located at http://xml.openoffice.org. StarOffice documents are saved as archive files (ZIP format), to more easily store sub-elements such as pictures, macros and styles. To explore the XML content of a StarOffice document, first unzip the document file (e.g. ending with .sxw) and then examine the XML content in a file named content.xml.
    Does it help?

  • *Help Needed* Adding multiple emails/mailing list in the email subscription

    Help Needed
    Hi,
    Can someone help me in adding multiple email address/mailing list in the email subscription for interactive reports in Apex 4.
    pls mail me at [email protected]
    Regards,
    Sunny

    The doc does not mention a separator for the email addresses because we only support one email address per subscription. I have logged a task for our next release to look at expanding it and allowing multiple.
    -- Sharon

  • Mail 4.5 - how do I permanently delete email attachments?

    I'm using Mail 4.5 on OS X 10.6.8 - I'm using a late-2008 aluminium unibody MacBook with a 250GB hard drive and I only have 4Gb of available space left.  I'm trying to free up space on my hard disk and I downloaded Disk Inventory X to check what was taking up so much space - apart from my iPhoto library and Pictures folder which together account for about 125GB I see that the folder containing Mail messages is 42.8GB in size!
    I'm assuming that this is because I've received a lot of photos via email but I've added the ones I wanted to my iPhoto library so I assume I no longer need the images that were emailed to me.
    Can someone please tell me where I can find these email attachments so that I can delete them all at once - I'm hoping that I don't have to go through all my emails one by one to select and delete them individually?
    Cheers
    Tricia

    Hi again .... The Preferences/Accounts/Advanced tab is set to Keep all messages and their attachments for offline viewing.
    I agree that it seems strange to say that junk messages should never be deleted ... it was one of the settings in the article that I thought odd but assumed that 'there must be a reason'. 
    I had a look in my Macintosh HD/Tricia/Library/Mail folders - there would appear to be a great many ....
    Disk Inventory is telling me that my Library/Mail/Mailboxes/Recovered Messages folders are the following size -
    Mail 46.4 GB
    Mailboxes 44.8 GB
    Recovered Messages 42.1 GB
    When I look at the Recovered Messages data it shows 775 messages numbered from 260549 to 161324 with a suffix of .emlx - each one is 69.6 MB exactly!  Apart from these messages there are another 40 odd with sizes that range from 5.6MB down to 2KB.  I have the feeling that this might be where my problem arises but I have no idea what these Recovered Messages are.
    Any ideas?
    Cheers
    Tricia

  • Adding attachments - Mail.app crash & Safari crash

    Trying to add a 4kb text file to email using Mail.app - Mail crashes
    Using my webmail access, in Safari, adding same 4kb text file - Safari crashes
    Using my work webmail access (which is Exchange or Outlook based), in Safari, adding same 4kb text file - Safari crashes
    Nothing has changed except Snow Leopard. The text file was created using TextEdit. No graphics, just text ("rtf" extension). I have nothing in my trash, so cannot securely empty trash.
    And, no, just because I have >50 Safari windows open would not explain why Mail.app crashes when trying to add an attachment.
    Could this have anything to do with the built-in anti-malware???

    Hi Ernie,
    I have one POP account (Hotmail) and three other IMAP accounts (one of them is my MobileMe account).
    I have tried the following without any improvement in Mail.app behavior:
    1) Tried to delete the contents of ~/Library/Mail/Bundles folder (there were no files there).
    2) Dragged com.apple.mail.plist from /Users/YourName/Library/Preferences to the desktop.
    3) repaired disk permissions (both from HD boot and SL disk boot) of MacintoshHD using Disk Utility. Then restart. This helped a little, but problem persists.
    5) changed sharing permissions in the Downloads folder for Everyone from no access to read only.
    6) saving email as draft first (before making and attachment) then attaching the file.
    7) dragging the ~/Library/Mail/Mac~ folder to the desktop. restart mail...
    8) dragging the ~/Library/Mail/ folder and the com.apple.mail.plist file to the desktop. recreate account settings...
    None of these attempts have worked. The last two (#7& #8) were suggested in the posts from the links you suggested I try out.
    The only thing that has worked so far is creating a new admin user (from System Preferences>Accounts>Add a User Account>). Then logging in to the new account, opening mail, and recreating the same mail accounts that are on the original user account. Mail was able to send emails with attachments. Once I logged back into the original user account, mail would crash when sending an email with an attachment.
    I don't know if this helps, but mail will crash even if a file is not attached (if you go to attach a files, but then cancel instead).

  • When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail., When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail.

    When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail., When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail.

    That's probably because the message is in HTML format. Send the reply as plain text.

  • Can't open PDF email attachments from mail app. (iOS7, iPad2)

    Since upgrading to iOS7 I cannot open PDF email attachments from the "Mail" app. The attachment appears as a "tap to download" icon, after downloading it appears as an image of the first page of the PDF. An extended press of the PDF image results in "save image" and "copy" options, but no "open in" option.
    I have tried closing and re-opening mail, restarting the iPad, several different attachments. Still no "Open in" option.
    Any help with this?

    I work in a support organization and we've seen variations of this issue develop on various iphones and ipads with ios7.  Oddly, not everyone is experiencing this, just some people.
    In my own case, I simply downloaded Acrobat Reader for free and can read the things fine.
    We use an exchange activesync email server and when each email comes in it indicates at the very bottom that it has been downloaded as plain text and to click to download the entire message.  I've tried clicking to download and not clicking and I can read the PDF either way.
    In my own case I can view PDF files and/or also save them by pressing and holding the icon of the PDF in the email.
    The other thing one of our end users noticed: if she emailed the PDF directly to her iPhone5 and iPad it would not be readable but if she forwarded it to her offsite Yahoo account and then forward to her corporate email it would open.
    I think there's definetely something going on with the formatting of the PDF (was it created by a true Adobe PDF distiller or one of the many clones?), what email application attached it? (Outlook, Eudora, IOS Mail, etc) and how many PDF reading apps are on your IOS devices?
    For instance I have the default PDF reader, iBooks, Kindle, Adobe Acrobat Reader, and there may be others that I don't even know has PDF capability.   Only Apple probably has a good idea of how many apps utilize this.
    Message was edited by: aliensporebomb - clarification

  • Trouble sending email attachments or using photo mail

    Hi. I have Elements 6.0 and I'm using a HP computer with Vista. Starting about three days ago (for sure that I know of), I have not been able to send pictures by email attachment or photo mail in SHARE. I have been able to send pictures without problems in the past. When I "send" the pictures, everything looks fine (counting down of pictures sent displays and disappears as usual). When I pull down "find" and then "by history" and then "emailed to", its says my emails have been sent and how many pictures I have sent.
    So, that is my question. What has happened that I can't send email attachments anymore and how can I fix it?
    Thank you for any help or suggestions!
    Laura

    Well I had a brief moment of elation this am. All 26 of the test images I mailed to myself showed up in my mail box and my husbands. Thought it was all fixed. Tried to mail another and so far have not received it. Is it possible that the speed of delivery is REALLY slow? There has always been an inordinate lag time in receipt; about 7 to 10 minutes. But 3 days seems a little ridiculous. In the mean time I registered for the free adobe photoshop. It is bare bones, really easy, and it works. Their email does not have imbedded photos, but it does work. Just go to photoshop.com.

  • Files corrupting when sending email attachments from Mail & Thunderbird

    Hi All
    I'm hoping that someone will be able to help here as this problem is driving me crazy!
    Most if not all of my email attachments are corrupting when sending from Apple Mail and Thunderbird.  I'm also having issues with publishing files via FTP from Rapidweaver 5!  I have spoken to BT about the issue but they have tested the line and say everything is OK.
    The strange thing is, it's happening on my MacBook Pro (Mountain Lion) and my Mac Pro (Lion). The problem's also happen when I'm using a friends high speed internet connection so that only leaves the server. I'm really out of my depth with the server side of things though. I did have a reply from Servage (my hosting company) who said I may have been the subject of a hack and an upload script!! Not sure what this means or how to check if this is the case. One question though, would this corrupt email attachments as well as uploading to the server?
    Many thanks
    Mark

    Further to the above:  I have now found that the same corruption happens when I email attachments and FTP from my PC laptop, so this rules out a computer issue.  I have also swapped wireless routers and exactly the same problem.  As mentioned above, I don't get the corruption when using another internet connection.
    Also, I have an iPhone which I've restored to factory default settings and when I take a photo with the phone and email it (using my home wireless network), the file corrupts, everytime.
    Using services such as YouSendIt and WeTransfer, gives the same problems!
    I'm desperate for help on this one and I'd even pay someone to resolve it!

  • Can't see, quickview or open email attachments...

    iPad 2-I can receive emails fine, but cannot see, quickview or open email attachments. I've been sent PDFs and can see a paper clip icon in email list view, but no PDF icon in the email.
    Why?
    Thanks.

    How about something really crazy and unheard of? 
    I have two email accounts with Google Mail.  Both are the only ones set up in the Mail app inside my iPad2.  One would load everything: .jpeg, .docx, .pdf, and everything.  The other would not. 
    I tried hard reset multiple times, deleting both email accounts and hard resetting.  I cut all processes using SBSettings and killed all processes related to mail.  So I have nothing running now, and I deleted all of the readers, Doc to Go, Quick Office, and other apps I had added.
    Now I have nothing running and no apps installed.
    Then I set up mail again from the bottom, as if the iPad came in the mail today.  One gmail account still automatically opens and previews .jpg attachments, and show .doc, .pdf attachments with their respective icons.  THE OTHER GMAIL ACCOUNT IN THE SAME iPAD MAIL APP DOES NOT OPEN THE SAME MESSAGES I HAVE FORWARDED TO BOTH.  I would see an arrow pointed down in the icon inside that "faulty" mail account, and the name of the attachment below the icon.  I have pressed my finger a gadzillion times on those icons, only to see the spinning wheel briefly and nothing.  Holding them down would do nothing, and i can't open in other apps.
    The wackiest thing is... when I hit forward (by tapping the curved arrow at the top), I get a drop-down choice list: "INCLUDE" and "DON'T INCLUDE" attachments.  When I tap on INCLUDE, .jpg files immediately load and show in the reply message, only two of four .pdfs load and open, but no .docx attachments would.
    How would we be supposed to troubleshoot or fix something like this?

  • Cannot save email attachments to folders in Finder

    Ughhh, I'm getting a sinking feeling.... It's happening again.
    Ever since I installed Mavericks back in June of 2014, I've had nothing but problems. In fact, the actual install (perhaps coincidentally, I'm told) caused my hard drive to fail in mid-install, even though it was only 2 years old. Apple Care cheerfully paid for the new hard drive and installed Mavericks for me, but ever since my previously fast, responsive computer has been incredibly sluggish, lots of beach balls, tons of problems with things like the one I'm experiencing again today -- can't save email attachments to folders in Finder (the computer behaves as if the save was successful, but when you go look in the Finder later, you discover it was never saved anywhere). Also, I can't create any new folders because it says the location is Read Only (I've tried various file locations -- same result).
    Since June, after countless visits to the Genius Bar and all sorts of attempts to fix the accumulating problems, the Genius erased my User Library last December in a final attempt to get the computer to work right before my Apple Care ran out. It was one of many attempted fixes that would actually work pretty well for a few days, but then the problems would accumulate again.
    Last week, Word kept crashing. I took it to the Genius Bar and the June 2014 hard drive failed a diagnostic test. Even though Apple Care had expired, Apple replaced the hard drive for free because they could see the long list of notes from all of the visits I had made to the Genius Bar. I restored everything and, although it seemed to be working okay at first, I was still getting a lot of beach balls. Sometimes it can take 30 seconds to open a Word document, even if the application is already open. (FYI, I don't keep a lot of applications running.) But at least it was working. Today, however, I'm seeing some of the old familiar problems creep in. I cannot save email attachments to a folder. I cannot create new folders. I've tried restarting the computer multiple times. All of this was working fine as recently as yesterday.
    1. Am I doing something that is causing this? This is my sixth Mac and I've never a serious problem with ANY of the others (including one that I bought USED) and I use them at least 8 hours a day. As far as I know, I'm doing everything the same way I've always done it.
    2. Has anyone else encountered this "Read Only" problem and do you know how to fix it? I'm starting to think this is just a bad computer and that this is a symptoms that something is very wrong again.
    3. Do I simply need to start over with a brand new computer (although, frankly, I'm scared to restore everything onto a new computer and risk "infecting" the new one). This is my work computer and I am self-employed, so I really cannot afford to be running to the Genius Bar once or twice a week any longer. Any advice? It's a MacBook Pro that I bought in December 2011. According to the stats, I'm using 354.68 GB of my 499.25 GB storage capacity.
    Sorry this is so long. Just trying to give the context.

    Hi:
    Of course this is possible on SharePoint Server 2010 and is a very nice functionality, in this link (http://www.sharepointboost.com/blog/setting-up-sharepoint-2010-incoming-mail/)
    you can find a detailed information of how to set up the incoming email o SharePoint 2010 document library step by step.
    I hope this helps
    Please mark as answer if helps you

  • How to  delete email attachments from server

    Hi,
    I created an a CF template for sending e-mail which includes
    attachments. It has been tested on my dev box and is functioning
    fine as the attachment upload to a designated directory on the
    server. I would like the attachments to be purged once the e-mail
    has been forwarded to the recipent.
    In Macromedia's ColdFuision 7MX web application construction
    book page 913 "Interacting with Email" there is a CFC that will
    delete the file when the user ends their session.
    I am not sure how to write this to fit the code I am using.
    Here is the eMail form
    <!--- Mail_Form.cfm--->
    <html>
    <head>
    <title>Please enter your message</title>
    </head>
    <body>
    <form action="Send_Email.cfm" method="post"
    enctype="multipart/form-data">
    <table width="500" border="0" align="center">
    <tr>
    <td width = "500" colspan="2">Please enter your e-mail
    message:</td>
    </tr>
    <tr>
    <td width="250">To:</td>
    <td width="250"><input type="text" name="to_addr"
    value=""></td>
    </tr>
    <tr>
    <td>Subject:</td>
    <td><input type="text" name="subject"
    value=""></td>
    </tr>
    <tr>
    <td>Message:</td>
    <td><input textarea name="message" rows="5"
    cols="35"></textarea></td>
    </tr>
    <tr>
    <td width="250">Attachment #1:</td>
    <td width="250"><input type="file"
    name="attachment_1" value=""></td>
    </tr>
    <tr>
    <td width="250">Attachment #2:</td>
    <td width="250"><input type="file"
    name="attachment_2" value=""></td>
    </tr>
    <tr>
    <td width="250">Attachment #3:</td>
    <td width="250"><input type="file"
    name="attachment_3" value=""></td>
    </tr>
    <tr>
    <td width="250"> </td>
    <td width="250"><input type="submit"
    name="Send_Email" value="SendEmail"></td>
    </tr>
    </table>
    </form>
    Here is the form to send the attachment.
    <!--- Send_Email.cfm --->
    <!--- First make sure that the user uploaded attachments
    --->
    <cfif FORM.attachment_1 neq "">
    <!--- first actually upload the file --->
    <cffile action="upload"
    destination="D:\uploadsTEST\"
    filefield="attachment_1"
    nameconflict="makeunique">
    <!--- now create a temporary holder for the attachment
    later on --->
    <cfset attachment_local_file_1 =
    "d:\uploadsTEST\#file.serverfile#">
    </cfif>
    <!---Now repeat the process for the second and third
    attachment:--->
    <cfif FORM.attachment_2 neq "">
    <!--- first actually upload the file --->
    <cffile action="upload"
    destination="D:\uploadsTEST\"
    filefield="attachment_2"
    nameconflict="makeunique">
    <!--- now create a temporary holder for the attachment
    later on --->
    <cfset attachment_local_file_2 =
    "d\uploadsTEST\#file.serverfile#">
    </cfif>
    <cfif FORM.attachment_3 neq "">
    <!--- forst actually upload the file --->
    <cffile action="upload"
    destination="D:\uploadsTEST\"
    filefield="attachment_3"
    nameconflict="makeunique">
    <!--- now create a temporary holder for the attachment
    late on --->
    <cfset attachment_local_file_3 =
    "d:\uploadsTEST\#file.serverfile#">
    </cfif>
    <!---OK, you have now uploaded the file the server, now
    let's send
    out the email with the attachments:--->
    <cfmail FROM="[email protected]" to="#form.to_addr#"
    subject="#subject#"
    server="an001so-dby1c.pbi.global.pvt" port="25">
    #message#
    <cfsilent>
    <!--- <cfsilent> tag used to kill the white space
    in this area
    so your email is not cluttered with white space.--->
    <cfif FORM.attachment_1 neq "">
    <cfmailparam file="#attachment_local_file_1#">
    </cfif>
    <cfif FORM.attachment_2 neq "">
    <cfmailparam file="#attachment_local_file_2#">
    </cfif>
    <cfif FORM.attachment_3 neq "">
    <cfmailparam file="#attachment_local_file_3#">
    </cfif>
    </cfsilent>
    </cfmail>
    Here is the session application code to delete the file upon
    uploading
    <!---
    Filename: Application.cfc
    Executes for every page request
    --->
    <cfcomponent output="false">
    <!--- Name the application. --->
    <cfset this.name="attachmentPurge">
    <!--- Turn on session management. --->
    <cfset this.sessionManagement=true>
    <cfset this.clientMangment=true>
    <cffunction name="onSessionEnd" output="false"
    returnType="void">
    <!--- Look for attachments to delete --->
    <cfset var attachDir = expandPath("Attach")>
    <cfset var getFiles = "">
    <cfset var thisFile = "">
    <!--- Get a list of all files in the directory --->
    <cfdirectory directory="#attachDir#" name="getFiles">
    <!--- For each file in the directory --->
    <cfloop query="getFiles">
    <!--- If it's a file (rather than a directory) --->
    <cfif getFiles.type neq "Dir">
    <!--- Get full filename of this file --->
    <cfset thisFile =
    expandPath("Attach\#getFiles.Name#")>
    </cfif>
    </cfloop>
    </cffunction>
    </cfcomponent>
    The tutorial only explains how to delete the attachment when
    the recipient checks there mail
    in the POP server.
    Assuming that the sender is in a session would the code be
    written to delete the attached file from the directory on
    the server one the e-mail is sent.
    Can someone explain how to automatically delete email
    attachments from a designated directory or provide me with the code
    that would handle this after an email is sent with attachment.
    Thanks,
    Tony

    I don't know why your dos code didn't run. It could be
    addressing. My limited experience with cfdirectory/cffile/cfexecute
    is to type out the complete path at least once.
    Good books?
    Hard to say, depends on what else you are new at. If you are
    new to html, then htmlgoodies.com has good tutorials. So does
    webmonkey.com. If you have trouble with sql, I have heard good
    things about the SAMS book, Teach Yourself SQL in 10 Minutes by Ben
    Forta. I learned javascript by buying the book Teach Yourself
    Javascript in 24 Hours. The O'Reilly books are also good. I learned
    awk with one of those books.
    Glad you liked the fish pics. The camera is specified on most
    of the pages. If it says Reefmaster, I used an external strobe. If
    it says Sony I either used the camera flash only or natural light.
    By the way, that is not a Cold Fusion site. It's strictly html and
    javascript.

  • Can I set up a Non .mac Email Pop mail client Alias for sending SMTP mail?

    I have a yahoo.com POP mail account - [email protected] When I'm lgged into Yahoo mail, this account can receive and send mail from serveral aliases - [email protected], [email protected], etc.
    Using Tiger's mail.app, I can log into the Yahoo smtp server and get all my mail, including mail to the alias names.
    I would like to be able to reply from my Mac's mail.app account, using one of the aliases, instead of my POP account name. In other words, I'd like the From field be listed as "[email protected]" and not "[email protected]"
    In mail.app (v2.1) is there any way to do this?
    Alan Sampson' suggestion doesn't work - when I set the From field to the alias name, it looks like mail tries to login to the yahoo SMTP server under the alias, and it gets rejected.
    ( - see http://discussions.apple.com/thread.jspa?messageID=2603372&#2603372 )
    Go to Mail > Preferences > Accounts and under the Account Information tab for the primary email account preferences, enter all alias email addresses in the Email Address field for the account separate by a comma.
    [email protected], [email protected], [email protected]
    MacMini - 1.42   Mac OS X (10.4.7)  
    MacMini - 1.42   Mac OS X (10.4.6)  
    MacMini - 1.42   Mac OS X (10.4.7)  

    If Yahoo allows this, it should work. Open Mail Help, type alias in the search box, and read the article titled Adding multiple email alias addresses to an account. Could it be that you're trying to put the aliases in the wrong field (i.e. User Name rather than Email Address)? Or maybe it's Yahoo's SMTP server that doesn't allow you to do this?

  • After my OS update I can no longer open email attachments.  What could be the issue??

    After my latest OS update I can no longer open email attachments.  What might be in the issue??

    Quit Mail and restart.
    Select each of your mailboxes and select Rebuild under the Mailboxes menu.
    If those don't help, then reinstall Yosemite:
    Reinstall Lion, Mountain Lion, Mavericks or Yosemite without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, Mavericks, or Yosemite
    OS X Yosemite- Reinstall OS X
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

  • Auto saving email attachments using date email received as the name of the attachment file

    I would like to be able to batch save hundreds of email attachments in my inbox to a specified folder and use the date and time email was received as the name of the file.  i found sample script that would give it timestamp but would prefer date and time of receipt.  any help would be greatly appreciated.
    thanks.

    I found the below script online but it does not seem to be naming correctly.  it appears that the month always defaults to 12.  perhaps somehow could suggest a fix?
    set theAttachmentPath to (path to desktop) as text
    tell application "Mail"
              set a to selection
    end tell
    repeat with s in a
              tell application "Mail"
                        set current_date to date received of s
                        set CurrentSender to sender of s
              end tell
              set current_date to AppleScriptDateToString(current_date)
              tell application "Mail" to set Attached to mail attachments of s
              repeat with ThisAttach in Attached
                        tell application "Mail" to set FileName to name of ThisAttach
                        if FileName ends with ".pdf" then
                                  set FileName to current_date & " from " & CurrentSender & ".pdf" as text
                                  set FileName to checknamewith_pdfsuffix(FileName, theAttachmentPath, false)
                                  tell application "Mail" to save ThisAttach in theAttachmentPath & (FileName)
                        end if
              end repeat
    end repeat
    on AppleScriptDateToString(a)
              set b to current date
              set monthnames to {}
              repeat with i from 1 to 12
                        set month of b to i
                        set monthnames to monthnames & {(month of b) as text}
              end repeat
              set Y to (year of b)
              set M to 0
              repeat with t in monthnames
                        set M to M + 1
                        if t as text = (month of b) as text then
                                  exit repeat
                        end if
              end repeat
              set M to Twodigits(M)
              set D to Twodigits(day of b)
              set hh to Twodigits(hours of b)
              set mm to (minutes of b)
              set ss to Twodigits(seconds of b)
              return Y & "-" & M & "-" & D as text
    end AppleScriptDateToString
    on Twodigits(a)
              return (characters -2 through -1 of (("0" & a) as text)) as text
    end Twodigits
    on checknamewith_pdfsuffix(n, D, looped)
              tell application "Finder"
                        set thefiles to name of every item of (D as alias)
              end tell
              if thefiles contains n then
                        if looped = false then
                                  set n to ((characters 1 through -5 of n) & " 1" & (characters -4 through -1 of n)) as text
      checknamewith_pdfsuffix(n, D, true)
                        else
                                  set tmp to (last word of ((characters 1 through -5 of n) as text) as integer)
                                  set tmpcount to (count of characters of (tmp as text)) + 5
                                  set tmp to tmp + 1
                                  set n to ((characters 1 through (-1 * tmpcount) of n) & tmp & (characters -4 through -1 of n)) as text
      checknamewith_pdfsuffix(n, D, true)
                        end if
              else
                        return n
              end if
    end checknamewith_pdfsuffix

Maybe you are looking for