2012-11-12 9 views
5

मैं अपने ऐप्पलस्क्रिप्ट को ट्रिगर करने वाले किसी भी ई-मेल के शरीर को पुनर्प्राप्त करने का प्रयास कर रहा हूं। मैं एक परीक्षण संदेश बचाया है, और जब मैं क्लिक करें "नियम लागू करें", मैं इस त्रुटि मिलती है:यूटीएफ -8 त्रुटि ई-मेल संदेश पढ़ने का प्रयास कर रही है: <> "जीमेल" <> "जीमेल" के <> "INBOX" के <> id 9574 <<।

"<> < की नहीं कर सकते> आईडी < की 9574>" इनबॉक्स "< की>" जीमेल "में टाइप करें <>। "

संपादित करें:

using terms from application "Mail" 
on perform mail action with messages messageList for rule aRule 
    tell application "Mail" 
     repeat with thisMessage in messageList 
      try 
       say content of thisMessage 
      on error errMsg 
       display alert errMsg 
      end try 
     end repeat 
    end tell 
end perform mail action with messages 
end using terms from 

उत्तर

3

प्रयास करें:

say (content of thisMessage as text) 
यहाँ कोड के संबंधित भाग है
संबंधित मुद्दे