• 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: transfer message from Mail to FileMaker - no "returns" in the message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: transfer message from Mail to FileMaker - no "returns" in the message


  • Subject: Re: transfer message from Mail to FileMaker - no "returns" in the message
  • From: John Delacour <email@hidden>
  • Date: Mon, 28 Apr 2003 13:53:16 +0100
  • Mac-eudora-version: 6.0a16

At 2:04 pm +0200 28/4/03, Armin Egginger wrote:

I try to transfer my emails to a filemaker-database. It works, but the
returns in the message block don't work - In AppleScript EventLog
everything seems to be ok, but in FileMaker the message is not with
returns - instead of returns are some squares.

Mail is a cocoa UNIX app and uses UNIX line endings. To change the content to Mac style, do this:

tell application "Mail"
set _Umsg to the content of message 1 of mailbox "inbox" of account 1
set my text item delimiters to return
set _MACmsg to paragraphs of _Umsg as Unicode text
set my text item delimiters to ""
_MACmsg
end tell

I have not tried this with a proper Unicode message and I presume FMP can't handle Unicode, so you're looking for trouble anyway.

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >transfer message from Mail to FileMaker - no "returns" in the message (From: Armin Egginger <email@hidden>)

  • Prev by Date: transfer message from Mail to FileMaker - no "returns" in the message
  • Next by Date: Re: transfer message from Mail to FileMaker - no "returns" in the message
  • Previous by thread: transfer message from Mail to FileMaker - no "returns" in the message
  • Next by thread: Re: transfer message from Mail to FileMaker - no "returns" in the message
  • Index(es):
    • Date
    • Thread