Applescript help: mail this domain (but don't mess up my html signature!)

I currently use this script to email the current domain in safari in mail, the script launches a new mail and inserts the domain in the body field.
However, the script replaces my html mail signature. And if I add my sig back in, it is totally wonky, I'm guessing it has something to do with some weird formatting?
Any thoughts?
tell application "Safari"
set this_URL to the URL of document 1
end tell
tell application "Mail"
activate
set this_message to make new outgoing message with properties {visible:true, subject:"Interesting URL", content:(this_URL)}
end tell
----------

Andy, thanks for your reply. I was just going to post that I seem to have solved the problem.
What I ended up doing was to first back up the mail folder. Then I created some Saved Mail folders and did a search to find the e-mails that weren't displaying and put them into a saved mail folder. Then I went in and deleted the e-mail account that wasn't displaying mail. (It would show the number of new messages in the red circle, but didn't show any messages being in the inbox when you clicked on the account.) Anyway, after trying to backup everything and deleting the problem e-mail account, I rebuilt the inbox and then re-entered the information for that account to set it back up. After I did this, messages come into the account just fine and show up just like they should.
The file structure looked to be the same as what your finder image shows. When I did the search which let me find the messages, all I noted was that it would say they were either in the Inbox, Sent Mail, Trash, etc. But, once I had them showing in the search window, I could copy them to a saved mail folder and view them without a problem.
Since this wasn't my computer, I'm not sure if anyone tried to change account settings, but not as far as I know. They just said it happened about 2-3 weeks ago.
Thank you for your help. I guess it's going to be one of those computer things that you don't know why it happened, but at least I know what I did that seems to have fixed it.

Similar Messages

  • Help, mail does receive but not send

    can anybody help me, my mail does receive  but does not sent any acount exept iCloud acounts.
    it does not connect to servidor SMTP

    This is a reasonalby common occurance, Apple addresses it in:
    http://support.apple.com/kb/TS1307
    If that does not help then it is possible a setting has been corrupted. In that case go to Mail-Settings-Accounts and re-input all the settings even though they may look OK.

  • HT204053 i just got a Mac book pro 13....i need to remove my husbands cell number from my iCloud on this device but don't know how

    I just got a Mac book pro 13 ... I need to remove my husbands cell number from this device but dont know how

    Are you sharing the same iCloud account as your daughter?  If so, that would explain why your contacts are merged.  To fix this, you would need to migrate her device(s) to her own iCloud account.  After doing so, you could then delete her contacts from your Mac without effecting the contacts on her device(s).
    As far as messages, do you have your own iPhone?

  • Personal Suface Pro needing to access a Domain but don't want to connect to it

    Hi
    I have a personal Surface Pro I use for work and i would like to access websites and servers within work network. Overtime it asks me for a domain/username and password to access the information I'm after.  The issue is sometimes it works but most of
    he time it doesn't.  I don't want to connect it to the Domain as its my device and i want to keep control of it.  
    Can anyone recommend the best way to do this or am i stuck with putting it on the domain.
    thanks
    Brenden

    It depends, if internet is controller by proxy servers, you might need to authenticate using domain ID. 
    I would suggest you to check with the Infra Admin in office. 
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do this Excel but don't know procedure in Numbers.  Thanks.

    How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do it in Excel but I don't the procedure in Numbers.  Thank you!

    The only I way I can think of to modify a single value and have that value change in multipl locations is to have all "the other places" reference a single cell.  There is not way without a referene to modify a set of cells simulateously.
    This may be something like what you want:
    Enter a value in the table "Original Data" cell A1 and the A1 cells of tables Ref1, Ref2 and Ref2-1 will change

  • Help! Photos drag but don't stay

    I have used Imovie before and had no trouble. Then I moved my iphoto and my imovie files from another computer to my new computer.
    I've had this macbook for about a month, and I just tried making a slideshow in imovie. The problem is, I can select the photos from iphoto, and drag them to the project, but they won't stay! There is a little green plus sign, but then nothing.
    Help!
    I've tried rebooting my machine and closing and opening imovie, and it doesn't seem to be related to that.

    I have encountered a similar problem. It is not with my computer, but with a client's iMac 2.4 Ghz intel Core 2 Duo / 2GB RAM / 10.4.11, and with the latest version of iMovie 08.
    She can't drag photos from the iPhoto browser pane to the Project area. She can select photos (they highlight in blue,) and drag, but when she drops them into the Project they do not actually get placed in the timeline. Nothing appears at all. And now she's reporting a similar problem with video from the Event library.
    I've had her trash the iMovie preferences, no effect.
    The problem seems to have occurred after a recent update to iMovie.
    What might be causing this? And what else can we try to solve it? I'm thinking to try re-installing iMovie.

  • I need help with this method, i don't know how to call it correct.

    public void method397(byte byte0, int i)
            if(byte0 != 6)
                for(int j = 1; j > 0; j++);
            aByteArray1405[anInt1406++] = (byte)(i + cacheMod.method246());
        }This code is for a Game client im making for a 2dmmorpg, the method was refactored by a friend but he isn't online at the moment because his on holiday; This method sends a packet to the server, i have handled it in the server;
    So i would think you would call it like this;
    super.engineStream.method397((byte)6, 103);But that gives me a huge exception, so please could someone explain how i could fix?
    Thanks
    Ill get the error in a second.

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at Gui.ClientStreamLoader(Gui.java:328)
            at Gui.actionPerformed(Gui.java:323)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.AbstractButton.doClick(Unknown Source)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknow
    Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)

  • Just started getting this message but don't know how to correct the problem: irefox is configured to use a proxy server that is refusing connections.

    Firefox is configured to use a proxy server that is refusing connections.

    #Click the big orange Firefox button, or open the Tools menu.
    #Click Options.
    #Go to Advanced.
    #Go to Network.
    #Under Connection, click Settings.
    #Choose No proxy, or Use system settings.
    See also:
    *[[Server not found]]
    *[[Error loading web sites]]
    *[[Firefox cannot load websites but other programs can]]
    *[[Options window - Advanced panel]]

  • TS3276 How do I send an email and get a receipt that they opened it? I have seen this before, but don't know what setting to go to.

    How do I send an email and get a recipt that they opened it?

    Additionally, even if Mail supported it, the recipient would have to allow/consent to sending you the receipt - if I were the recipient, I would certainly not allow it. If you are sending legal or other very important files, use the "return receipt required" feature of US Mail - you will get a receipt that it was accepted with a signature.

  • Hi. I'm new to this and thought I already posted this question, but don't see it anywhere. My question: If I get a new iPhone, can I still use the old one like an iPod and download music and apps?

    If I buy a new iphone, can I still use the old one like an ipod with my iMac and download music, videos and apps?

    Absolutely, Yes. I'm sure that many iPhones are "recycled" that way within a family.
    The worst that will happen is that once in a while it will remind you to activate it as a phone. Just ignore the notifications.

  • I need help deleting my Domain in (Manage Site) cant find delete option

    I keep getting a error message telling me that my domain already existing and to delete all files related to this domain, but I can't locate the delete option. Can someone point me in the right direction?

    Hi,
    What is the domain you are trying to add?
    Kind Regards,
    Aish

  • Hello sir i have IPhone 5 this imei is : ******** and i but my mail and password but the icloud tell me its wrong please help me my mail is : ********  and my password is ********

    hello sir i have IPhone 5 this imei is : ********** and i but my mail and password but the icloud tell me its wrong please help me my mail is : *********
    and my password is *******
    <Personal Information Edited by Host>

    You might try the following steps:
    Restart the device by holding down the on/off button until the power down slider appears.
    Try entering your password in another location (i.e. when you are using a different wifi network)
    Reset all settings (settings > general > reset), this resets some of your settings to factory default. It’s not a complete removal of settings. It removes all of your preferences for Wi-Fi, Bluetooth, Do No Disturb, Notifications, General, Sounds, Brightness & Wallpaper and Privacy. It does not remove any of your data.
    Try signing out of iCloud and back in (only if find my phone is disabled)
    If this doesn’t help your best option may be to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.

  • How do you delete songs that you purchased through iTunes but don't show up when you connect the iphone to iTunes they don't show up in music when you click on "On this phone"? I have my phone setup to manually manage music. Please help.

    How do you delete songs that you purchased through iTunes but don't show up when you connect the iphone to iTunes? They don't show up in the music section when you click on "On this phone". Side Note: I have my phone setup to manually manage music. Please help.

    Hi, Mrs.Frankie57. 
    Thank you for visiting Apple Support Communities.
    If you want to delete a song from your iOS device on iOS 7, tap Songs, swipe the song from right to left, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide
    Cheers,
    Jason H.

  • I'm always losing all of my music and get a lot of apps that i don't need when i plug my i4 into my mac. I only ticked the box 'Manually manage music and videos' but it's always syncing itself. How can i prevent this? I don't want to put bacPlease Help!!!

    I'm always losing all of my music and get a lot of apps that i don't need when i plug my i4 into my mac. I only ticked the box 'Manually manage music and videos' but it's always syncing itself. How can i prevent this? I don't want to put back 1500 any more because of this. Please Help!!!

    I'm always losing all of my music and get a lot of apps that i don't need when i plug my i4 into my mac. I only ticked the box 'Manually manage music and videos' but it's always syncing itself. How can i prevent this? I don't want to put back 1500 any more because of this. Please Help!!!

  • TS3988 My icloud account is not verifying it says check my mail witch I have done and I get a message say your iPhone for has been used to set up and Icloud account but still can not use the icloud can anybody help me.

    My icloud account is not verifying it says check my mail witch I have done and I get a message say your iPhone for has been used to set up and Icloud account but still can not use the icloud can anybody help me.

    Be sure you are checking the email account that you used to set up the Apple ID you used to create the iCloud account.  Also, be sure to check your spam/junk folder as well as your inbox.  The email you should receive looks like the image below.  When you get it, click the Verify Now link.
    If it still isn't there, try going to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right look for a link to resend the verification email.

Maybe you are looking for