• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bug introduced in Mail after Safari 5 install
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug introduced in Mail after Safari 5 install


  • Subject: Re: Bug introduced in Mail after Safari 5 install
  • From: Tommy Bollman <email@hidden>
  • Date: Sat, 12 Jun 2010 11:17:22 +0200

On 12. juni 2010, at 03.44, Brooks Bell wrote:
>
> Our application uses AppleScript to tell Mail to create a message with an
> attachment.  After installing Safari 5 users are reporting that the content
> text area of the outgoing message has a black background.   This doesn't
> contrast very well with the black text.
>
> Below is a script that demonstrates the problem.  As I workaround I tried
> inserting this line:
>        set background color of newMessage to none
> But it doesn't run.   Any advice is appreciated.
>
>
> tell application "Mail"
>    set addressvar to "email@hidden"
>    set subjectvar to "Test Subject"
>    set contentVar to "This is the content"
>    set attachmentVar to "%@"
>    set saveAsDrafts to true
>    set singleJob to true
>    set newMessage to make new outgoing message
>    tell newMessage
>        set visible to singleJob
>        make new to recipient with properties {address:addressvar}
>        set subject to subjectvar
>        set content to contentVar
>        tell content
>            make new attachment with properties {file name:attachmentVar} at
> after the last paragraph
>        end tell
>        if singleJob is equal to 1 then
>            activate
>        else
>            if saveAsDrafts is equal to 0 then
>                send newMessage
>            else
>                save newMessage as "draft"
>                close newMessage
>            end if
>        end if
>    end tell
> end tell
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>

This is really interesting, I'm having some other issues, which may not be related, but showed up after having upgraded to Safari 5.
I attached some files and sent them back to my self: My attachments became invisible. An AppleScript showed that they still were there.
The files were attached to an rtf mail. I suspected at first the IMAP server, or some mail plugin to scrub off the attachment.


Best regards



Tommy Bollman
--------------------------------------------------------------------------------------------------
Mollison's Bureaucracy Hypothesis:
	If an idea can survive a bureaucratic review
	and be implemented it wasn't worth doing.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bug introduced in Mail after Safari 5 install
      • From: Jay Louvion <email@hidden>
References: 
 >Bug introduced in Mail after Safari 5 install (From: Brooks Bell <email@hidden>)

  • Prev by Date: Re: Bug introduced in Mail after Safari 5 install
  • Next by Date: Re: Bug introduced in Mail after Safari 5 install
  • Previous by thread: Re: Bug introduced in Mail after Safari 5 install
  • Next by thread: Re: Bug introduced in Mail after Safari 5 install
  • Index(es):
    • Date
    • Thread