View Single Post
  #8 (permalink)  
Old 06-25-2009, 01:25 AM
riju123 riju123 is offline
Intermediate Member
 
Posts: 20
Default

Hi Scotty ,after implementing the onMsgView(msg, oldmsg) , in a normal mail(ie from same Domain) am able to get the from field by :

var from = msg.getAddress(AjxEmailAddress.FROM);
var address = msg.getAddress(AjxEmailAddress.FROM).address;

and subject by simply calling ::
msg.subject

I gave an alert statement like this
alert('msg.subject ::'+msg.subject+':: oldMsg.subject ::'+oldMsg.subject);

But the only problem am facing is am not getting the Subject or a From field when the mail comes from some other Domain .
Like a Voicemail that am receiving the From value doesnt show up , and its same for the subject .
It cannot fetch the msg.subject from the mail but surprisingly when i click some other mail in my mailbox , this time oldMsg.subject field gives the value of the previous VoiceMail Subject and msg.subject gives the value of the present mail ( which is clicked ) .

Do u have a clue of this behavior ?
I hope am able to make u understand .

Thanks in advance .

Last edited by riju123 : 06-28-2009 at 10:16 PM.
Reply With Quote