Incorrect Sender value when 'mail' attribute is multivalued

hi,
i've just upgraded Sun messaging server 2005Q4 from IMS 5.2 and noted some behavioural difference in the reverse_url operations.
I've noted that reverse_url operations on the 'mail' attribute for ims5.2 seems to ignore subsequent values of this attribute if it's multivalued.
Sun Messaging 2005Q4, however, seems to have taken into account the multiple values of the 'mail' attribute.
This is resulting the mail's "From:" field to be using the subsequent values.
Setup
Account: mailtes1 (with multivalued 'mail' attribute)
mail: [email protected]
[email protected] (Not a configured mail domain handled by Sun messaging. Used by other applications)
mailhost: mailsit.portnet.com.sg (for Sun messaging 2005q4)
pnsasit1app1.portnet.com (for ims52)
test mails are sent to the same accounts.
Results of ./imsimta test -rewrite -debug mailtes1 on Sun Messaging 2005q4 as follows:
*** Debug output from rewriting a forward header address:
00:07:53.03: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:07:53.03: Rewrite: "$*", position 0, hash table -
00:07:53.03: Found: "$E$F$U%[email protected]$V$H"
00:07:53.03: Rewrite failed, not envelope.
00:07:53.03: Rewrite: "$*", position 1, hash table -
00:07:53.03: Failed.
00:07:53.03: Rewrite: "$*", position 0, rewrite database -
00:07:53.03: Failed
00:07:53.03: Rewriting: Mbox = "mailtes1", host = "portnet", domain = "portnet.com.sg", literal = "", tag = ""
00:07:53.03: Rewrite: "portnet.com.sg", position 0, hash table -
00:07:53.03: Found: "$U%[email protected]"
00:07:53.03: New mailbox: "mailtes1".
00:07:53.03: New host: "portnet.com.sg".
00:07:53.03: New route: "png1app1-mail.portnet.com.sg".
00:07:53.03: New channel system: "png1app1-mail.portnet.com.sg".
00:07:53.03: Looking up host "png1app1-mail.portnet.com.sg".
00:07:53.03: - found on channel l
00:07:53.03: Routelocal flag set; scanning for % and !
00:07:53.03: Rewrite rules result: [email protected]
00:07:53.03: Checking reverse URL cache for: [email protected]
00:07:53.03: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
00:07:53.05: Resulting URL: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])([email protected]))
00:07:53.05: mmc_open_url called to open ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg)), flags = 384
00:07:53.05: URL with quotes stripped: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:07:53.05: LDAP URL identified
00:07:53.05: URL context #1 will be used
00:07:53.05: Performing URL search on: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:07:53.05: mmc_read_url result: [uid=mailtes1,ou=People,ou=ZZZ,ou=Customers, l=SGSIN, o=portnet.com]
00:07:53.05: URL resolution returned: [uid=mailtes1,ou=People,ou=ZZZ,ou=Customers, l=SGSIN, o=portnet.com]
00:07:53.05: mmc_read_url result: [mail] [email protected]
00:07:53.05: URL resolution returned: [mail] [email protected]
00:07:53.05: Attribute index: 16
00:07:53.05: LDAP URL produced address [email protected]
00:07:53.05: mmc_read_url result: [mail] [email protected]
00:07:53.05: URL resolution returned: [mail] [email protected]
00:07:53.05: Attribute index: 16
00:07:53.05: LDAP URL produced address [email protected]
00:07:53.05: No more result to return
*** Debug output from rewriting a forward envelope address:
00:07:53.05: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:07:53.05: Rewrite: "$*", position 0, hash table -
00:07:53.05: Found: "$E$F$U%[email protected]$V$H"
00:07:53.05: Match, pattern = "portnet.com.sg", current = "(*domaincheck*)"
00:07:53.05: old state = not checked.
00:07:53.05: Domain check on portnet.com.sg.
00:07:53.05: Added domain result 1 to cache for portnet.com.sg.
00:07:53.05: new state = succeeded.
00:07:53.05: New mailbox: "mailtes1".
00:07:53.05: New host: "portnet.com.sg".
00:07:53.05: New route: "png1app1-mail.portnet.com.sg".
00:07:53.05: New channel system: "png1app1-mail.portnet.com.sg".
00:07:53.05: Looking up host "png1app1-mail.portnet.com.sg".
00:07:53.05: - found on channel l
00:07:53.05: Routelocal flag set; scanning for % and !
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 = SLAVE_DEBUG
channel flags #6 = LOCALUSER REPORTNOTARY
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = portnet.com.sg portnet.com.sg
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = png1app1-mail.portnet.com.sg
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
expandchannel =
notificationchannel =
dispositionchannel =
saslswitchchannel =
tlsswitchchannel =
backward channel = l
header To: address = [email protected]
header From: address = [email protected]
envelope To: address = [email protected] (route (png1app1-mail.portnet.com.sg,png1app1-mail.portnet.com.sg)) (host portnet.com.sg)
envelope From: address = [email protected]
name =
mbox = mailtes1
Results of ./imsimta test -rewrite -debug mailtes1 on ims52 as follows:
*** Debug output from rewriting a forward header address:
00:09:58.97: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:09:58.97: Rewrite: "$*", position 0, hash table -
00:09:58.97: Found: "$E$F$U%[email protected]$V$H"
00:09:58.97: Rewrite failed, not envelope.
00:09:58.97: Rewrite: "$*", position 1, hash table -
00:09:58.97: Failed.
00:09:58.97: Rewrite: "$*", position 0, rewrite database -
00:09:58.97: Failed
00:09:58.97: Rewriting: Mbox = "mailtes1", host = "portnet", domain = "portnet.com.sg", literal = "", tag = ""
00:09:58.97: Rewrite: "portnet.com.sg", position 0, hash table -
00:09:58.97: Found: "$U%[email protected]"
00:09:58.97: New mailbox: "mailtes1".
00:09:58.97: New host: "portnet.com.sg".
00:09:58.97: New route: "pnsasit1app1.portnet.com".
00:09:58.97: New channel system: "pnsasit1app1.portnet.com".
00:09:58.97: Looking up host "pnsasit1app1.portnet.com".
00:09:58.97: - found on channel l
00:09:58.97: Routelocal flag set; scanning for % and !
00:09:58.97: Rewrite rules result: [email protected]
00:09:58.97: Checking reverse URL cache for: [email protected]
00:09:58.97: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
00:09:58.99: Resulting URL: ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])([email protected]))
00:09:58.99: mmc_open_url called to open ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg)), flags = 256
00:09:58.99: URL with quotes stripped: ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:09:58.99: LDAP URL identified
00:09:58.99: URL context #1 will be used
00:09:58.99: Performing URL search on: ldap:///l%3Dsgsin%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:09:58.99: mmc_read_url result: [email protected]
00:09:58.99: URL resolution returned: [email protected]
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 = SLAVE_DEBUG
channel flags #6 = LOCALUSER REPORTHEADER
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = portnet.com.sg portnet.com.sg
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = pnsasit1app1.portnet.com
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
backward channel = l
header To: address = [email protected]
header From: address = [email protected]
envelope To: address = [email protected] (route (pnsasit1app1.portnet.com,pnsasit1app1.portnet.com)) (host portnet.com.sg)
envelope From: address = [email protected]
name =
mbox = mailtes1
emails sent to mailtes1 using the Sun messaging 2005q4 service will be en-queued as '[email protected]' for sender but de-queued to mail store with '[email protected]' as sender.
09-Dec-2007 21:00:47.38 tcp_intranet ims-ms E 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
09-Dec-2007 21:00:48.19 ims-ms D 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
Physical message file will show '[email protected]' as sender.
Return-path: <[email protected]>
Received: from portnet.com.sg (pnsgsit1app2.portnet.com [10.106.65.36])
by mailsit.portnet.com.sg
(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
with ESMTP id <[email protected]> for
[email protected]; Sun, 09 Dec 2007 21:00:47 +0800 (SGT)
Received: from [10.106.65.101] (Forwarded-For: 10.10.140.109)
by mailsit.portnet.com.sg (mshttpd); Sun, 09 Dec 2007 21:00:47 +0800
Date: Sun, 09 Dec 2007 21:00:47 +0800
From: [email protected]
Subject: test
To: [email protected]
Message-id: <[email protected]>
MIME-version: 1.0
X-Mailer: Sun Java(tm) System Messenger Express 6.2-8.04 (built Feb 28 2007)
Content-type: text/plain; charset=us-ascii
Content-language: en
Content-transfer-encoding: 7bit
Content-disposition: inline
X-Accept-Language: en
Priority: normal
Original-recipient: rfc822;[email protected]
test
Action tried.
1) Re-order values of mail attribute as follows:
mail: [email protected]
[email protected]
results from ./imsimta test -rewrite -debug mailtes1 on Sun messaging 2005q4:
*** Debug output from rewriting a forward header address:
00:21:45.57: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:21:45.57: Rewrite: "$*", position 0, hash table -
00:21:45.57: Found: "$A$E$F$U%[email protected]"
00:21:45.57: Rewrite failed, not envelope.
00:21:45.57: Rewrite: "$*", position 1, hash table -
00:21:45.57: Failed.
00:21:45.57: Rewrite: "$*", position 0, rewrite database -
00:21:45.57: Failed
00:21:45.57: Rewriting: Mbox = "mailtes1", host = "portnet", domain = "portnet.com.sg", literal = "", tag = ""
00:21:45.57: Rewrite: "portnet.com.sg", position 0, hash table -
00:21:45.57: Found: "$U%[email protected]"
00:21:45.57: New mailbox: "mailtes1".
00:21:45.57: New host: "portnet.com.sg".
00:21:45.57: New route: "mailsit.portnet.com.sg".
00:21:45.57: New channel system: "mailsit.portnet.com.sg".
00:21:45.57: Looking up host "mailsit.portnet.com.sg".
00:21:45.57: - found on channel l
00:21:45.57: Routelocal flag set; scanning for % and !
00:21:45.57: Rewrite rules result: [email protected]
00:21:45.57: Checking reverse URL cache for: [email protected]
00:21:45.57: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: [email protected]
00:21:45.58: Resulting URL: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])([email protected]))
00:21:45.58: mmc_open_url called to open ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg)), flags = 384
00:21:45.58: URL with quotes stripped: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:21:45.58: LDAP URL identified
00:21:45.58: URL context #1 will be used
00:21:45.58: Performing URL search on: ldap:///l%3DSGSIN%2Co%3Dportnet.com?mail?sub?(|([email protected])(mailAlternateAddress=mailtes1@portnet.
com.sg))
00:21:45.59: mmc_read_url result: [uid=mailtes1,ou=People,ou=PSA,ou=Customers, l=SGSIN, o=portnet.com]
00:21:45.59: URL resolution returned: [uid=mailtes1,ou=People,ou=PSA,ou=Customers, l=SGSIN, o=portnet.com]
00:21:45.59: mmc_read_url result: [mail] [email protected]
00:21:45.59: URL resolution returned: [mail] [email protected]
00:21:45.59: Attribute index: 16
00:21:45.59: LDAP URL produced address [email protected]
00:21:45.59: mmc_read_url result: [mail] [email protected]
00:21:45.59: URL resolution returned: [mail] [email protected]
00:21:45.59: Attribute index: 16
00:21:45.59: LDAP URL produced address [email protected]
00:21:45.59: No more result to return
*** Debug output from rewriting a forward envelope address:
00:21:45.59: Rewriting: Mbox = "mailtes1", host = "portnet.com.sg", domain = "$*", literal = "", tag = ""
00:21:45.59: Rewrite: "$*", position 0, hash table -
00:21:45.59: Found: "$A$E$F$U%[email protected]"
00:21:45.59: Match, pattern = "portnet.com.sg", current = "(*domaincheck*)"
00:21:45.59: old state = not checked.
00:21:45.59: Domain check on portnet.com.sg.
00:21:45.59: Added domain result 1 to cache for portnet.com.sg.
00:21:45.59: new state = succeeded.
00:21:45.59: New mailbox: "mailtes1".
00:21:45.59: New host: "portnet.com.sg".
00:21:45.59: New route: "mailsit.portnet.com.sg".
00:21:45.59: New channel system: "mailsit.portnet.com.sg".
00:21:45.59: Looking up host "mailsit.portnet.com.sg".
00:21:45.59: - found on channel l
00:21:45.59: Routelocal flag set; scanning for % and !
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = LOGGING NOGREY NORESTRICTED RETAINSECURITYMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 = MASTER_DEBUG SLAVE_DEBUG
channel flags #6 = LOCALUSER REPORTNOTARY
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = portnet.com.sg portnet.com.sg
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = mailsit.portnet.com.sg
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
expandchannel =
notificationchannel =
dispositionchannel =
saslswitchchannel =
tlsswitchchannel =
backward channel = l
header To: address = [email protected]
header From: address = [email protected]
envelope To: address = [email protected] (route (mailsit.portnet.com.sg,mailsit.portnet.com.sg)) (host portnet.com.sg)
envelope From: address = [email protected]
name =
mbox = mailtes1
emails sent to mailtes1 using the Sun messaging 2005q4 service will be en-queued as '[email protected]' for sender and de-queued to mail store with '[email protected]' as sender.
10-Dec-2007 00:20:00.88 tcp_intranet ims-ms E 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
10-Dec-2007 00:20:01.63 ims-ms D 1 [email protected] rfc822;[email protected] mailtes1@ims-ms-daemon
Physical message file will show '[email protected]' as sender.
But this time the recipient is '[email protected]'
Return-path: <[email protected]>
Received: from portnet.com.sg (pnsgsit1app2.portnet.com [10.106.65.36])
by mailsit.portnet.com.sg
(Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
with ESMTP id <[email protected]> for
[email protected]; Mon, 10 Dec 2007 00:20:00 +0800 (SGT)
Received: from [10.106.65.101] (Forwarded-For: 10.10.140.109)
by mailsit.portnet.com.sg (mshttpd); Mon, 10 Dec 2007 00:20:00 +0800
Date: Mon, 10 Dec 2007 00:20:00 +0800
From: [email protected]
Subject: test mail from ims62
To: [email protected]
Message-id: <[email protected]>
MIME-version: 1.0
X-Mailer: Sun Java(tm) System Messenger Express 6.2-8.04 (built Feb 28 2007)
Content-type: text/plain; charset=us-ascii
Content-language: en
Content-transfer-encoding: 7bit
Content-disposition: inline
X-Accept-Language: en
Priority: normal
Original-recipient: rfc822;[email protected]
test
Questions:
1) How do i retain the functionality of using 1st value of the mail attribute as the address to be used?
I need the address reversing to retain '@portnet.com.sg' value.
2) I've not encountered the same problem when using ims52.
Is there a functional diffences here?

Hi Shane,
Thank you for the reply.
We tried adding a mailequivalentaddress attribute, eg [email protected] but the From field still have the value from the mail attribute, eg [email protected]. Do we still need to configure anything to make this to work?
Besides we tried another option by doing the following:
a. Changing the following lines in options.dat file:
REVERSE_URL=ldap:///$V?mail?sub?$Q
to
REVERSE_URL=ldap:///$V$N?sub?$R
b. We ensure that '@portnet.com.sg' is the 1st value
c. adding a 'noreverse' keyword for the 'ims-ms' channel
And it works without the need for the mailequivalentaddress, is this a proper implementation?
any implications with putting 'noreverse' for ims-ms channel?
We're now considering changing of primary address attribute used.
Need your advise on the following:
1) Please advise how go about configuring another attribute to store the primary address.
2) Can we use mailAlternateAddress as the new primary address attribute?
If a totally new attribute is needed, please advise on the requirements for the creation of this attribute to be usable by Sun Messaging 2005Q4.
This change was mentioned in the administration guide.
Chapter 9 The Direct LDAP Algorithm and Implementation
Seeding the Reversal Cache
Next the primary address and any aliases attached to the user entry are considered. This information is used to seed the address reversal cache. It plays no part in the current address translation process. First, the primary address, personal name, recipient limit, recipient cutoff, and source block limit attributes are considered. The primary address is normally stored in the �mail� attribute; another attribute can be specified by setting the LDAP_PRIMARY_ADDRESS MTA option appropriately. (The primary address reverses to itself, of course.) There is no default attribute for any of the other attributes. If you want to use them, you must specify them with the LDAP_PERSONAL_NAME, (see Vacation Autoreply Attributes) LDAP_RECIPIENTLIMIT, LDAP_RECIPIENTCUTOFF, (see Limiting Message Recipients) and LDAP_SOURCEBLOCKLIMIT (see Specifying Absolute Message Size Limits) MTA options. The corresponding domain-level recipient limit, recipient cutoff, and source block limit attributes are also considered at this point. User-level settings completely override any domain-level setting.
Next, any secondary addresses are considered and a cache entry is made for each one. There are two sorts of secondary addresses: Those that undergo address reversal and those that do not. Both must be considered in order to properly seed the address reversal cache because of the need to check for message capture requests in all cases.
Secondary addresses that undergo reversal are normally stored in the mailAlternateAddress attribute. Another attribute can be specified by setting the LDAP_ALIAS_ADDRESSES MTA option. Secondary addresses that do not undergo reversal are normally stored in the mailEquivalentAddress attribute. Another attribute can be specified with the LDAP_EQUIVALENCE_ADDRESSES MTA option.
Edited by: sheeyong on Dec 10, 2007 5:25 AM

Similar Messages

  • Is there any way to send value to my attribute through event handler method

    While I give value to the img array it does not print while I call object for this class. Is there any way that I could give value for img attribute
    // Attribute
    public var img:Array;
    // Constructor
    public function ReadXML(myfile:String) {
                img=new Array();
                xmlFile=myfile;
                var loader:URLLoader=new URLLoader;
                var url:URLRequest=new URLRequest(xmlFile);
                loader.addEventListener(Event.COMPLETE,onXMLLoad);
                loader.load(url);
    // Event handling Method
            function onXMLLoad(event:Event):Array {
                var xml:XML=new XML(event.target.data);
                //trace(xml);
                //trace("Number of Contacts : " + xml..person.length());
                //trace("First contact’s favorite food : " + xml.contacts.person[0].@favoriteFood);
                img["height"]=100;
                img["width"]=200;
                return img;

    what are you trying to do?
    if img has anything to do with an image, explain.
    if img is supposed to be an associate array, use:
    var img:Object;
    img=new Object();
    etc

  • Incorrect data value when insert into oracle table

    Would like to ask expert here, how could I insert data into oracle table where the value is 03 ? The case is like that,  the column was defined as varchar2(50) data type, and I have a csv file where the value is 03 but when load into oracle table the value become 3 instead of 03.

    user11432758 wrote:
    Would like to ask expert here, how could I insert data into oracle table where the value is 03 ? The case is like that,  the column was defined as varchar2(50) data type, and I have a csv file where the value is 03 but when load into oracle table the value become 3 instead of 03.
    implicit datatype conversion to NUMBER can result in leading zero to be eliminated.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Incorrect sender ID when sending Tap, Heartbeat and Sketch messages

    I reported this bug through Apple feedback last night. Adding here with additional details in case others see this issue or have a suggested workaround.
    On Watch, select a friend who has an Apple Watch, send a Message and the recipient sees the message from the correct sender ID (matches the iPhone "start new conversations from" setting).  So far so good.  For that same friend, send a Tap, Sketch or Heartbeat, the recipient receives the item, but the sender ID is INCORRECT.
    Background: I have two iPhones that use the same AppleID, one belongs to me, the other to my daughter.
    See the embedded screen capture from my iMessages settings. Text Messages sent to friend from Apple Watch correctly show the sender as the +1(978)771-xxxx number.  Tap, Heartbeat and Sketch messages sent to that same friend incorrectly show the sender as +1(978)760-xxxx.  It appears that Tap/Heartbeat/Sketch messages incorrectly use the first item from the "you can be reached by imessage at" list instead of the checked item in the "start new conversations from" setting.
    This is a serious bug for all the obvious reasons. All Apple Watch messages must respect the "start new conversations from" setting.

    Hey DarKOrange  I am having the exact same problem as you. Ican receive digital touch from my friend but I don't seem to be able to send one back. A couple of times I did get a message saying message was unable to send but most of the time they just fade out and nothing happens.
    I Did ask in the Apple Store yesterday but the guy in there didn't have a clue, told me to google it!!!. Dont think they have had much hands on yet  but hope apple fire out an update soon!!

  • Incorrect Condition Values when billing multiple deliveries

    Hi all.
    Ok this is a new one on me, when i bill using VF01 and enter multiple deliveries in (2) then second billing document (2 are created) that is created has some condition values that differ from the first, i must add it the same material, condition values, qty and ship to on the deliveries, also the deliveries are NOT reference to a sales order.
    But when you create each delivery as a single billing document all is ok.
    Any initial ideas?
    Just better add this is a density calulation as we use the F&A pricing for these billing docs.
    Regards
    Steve
    Edited by: Steve Cane on Mar 31, 2009 10:16 AM

    Hello steve,
    some possibilities
    some of the conditions may be group conditions and hence the base is the cumulative of both the conditions
    copy control from delivery to invoice may be to redtermine the scales and hence it may be updating when together
    hope this helps
    Thanks
    akasha

  • I keep getting a incorrect sender address when I view email from sender; why is this happening?

    The emails that I get as an Invitiation to Bid from iSqFt.com are listing the sender as one contractor but when I view them they are actually ITB's from another contractor. iSqFt.com says they have researched it on their end and found no problem so they referred me to Mozilla support for a solution.

    I do not know how you figure a glitch. YOU store a name associated with an email address and it displays that name when you get an email from that address.
    Glad it fixed it for you.

  • Incorrect Goods value when crediting an incorrect MIRO invoice

    Dear all,
    There is one thing I do not understand.
    My customer is on the coffee business, both selling and producing coffee.
    Normally they get two inovices for every purchase order, since the price of coffee is changing a lot. Normally the original invoice is coming first (before the goods is received), then an invoice of the price adjustment and then the goods is received.
    The price adjustment (invoice number 2) should not affect the stock value and therefore it is registered in transaction MIRO with antoher document type than original invoices. Now the price adjustment inovvoice was registered before the original invoice and with the same document type as normal invoices. Then the original invoice was also registered. The customer wanted to credit the first invoice but what happened? Since the value of the goods have been affected a much higher price is credited and the difference is posted to the "loss under covera ccount (P/L account). But I do not want that posting!
    This is what happaned:
    1) Price adjustment invoice, debit goods recievied/invoice recieved account 10 000 EUR,  20 000 PIECES
    2) Original Invoice, debit goods recievied/nvoice recieved account 100 000 EUR, 20 000 PIECES
    3) Credit of price adjustment, Credit goods recievied/invoice recieved account  50 000 EUR, 20 000 PICES AND debit 40 000 EUR on account "loss stock under cover"
    But I do not want to have any posting on the P/L account "loss stock under cover" and I would also like to have a credit of 10 000 EUR on goods recievied/invoice recieved account , not another amount. I know this is due to material valuation but is there a way to solve this?
    Best Regards,

    Solved!

  • Send an e-mail to Outlook when a PO is released

    Hello colleagues,
    We need to send an e-mail to some responsible outlook address when a PO is full released, just for information. We don´t want to use workflow for approval. Please, could you tell me how can i customize it?
    thank you in advance.
    Best regards,
    JR.

    This is not possible with standard configuration. You have to create Z report with help of abaper which will trigger mail to the responsible peoples.
    Logic would be
    1.Create Z table which will stores Plant and responsible user name and thier e-mail id
    2.Create Z-program which will take input as creation date and PO number also Plant and others as per your requirement
    3.Goto table CDHDR and input is doc oobject - EINKBELEG ,T-code : ME29N and ME28 ,Date : today date
       get the document number,object value and pass CDPOS table get all the values and store it in internal tabel. Loop internal table if the FNAME = FRGKE and VALUE_NEW = R then get the OBJECTID which is nothing but PO number . Passing this no in EKPO table get the plant no . For this plant whatever e-mail ids are there ,send mail saying that these Po are released .
    To send e-mail you have to use standard function module ISA_AUC_EMAIL_NOTIFY or HR_FBN_GENERATE_SEND_EMAIL or check with abaper

  • Multi line values in mail forms to send emails

    Hi All,
    Ours is CRM 2007 application, as part of new capability adding to the system, we need to send email to customer with few details once service tickets saved in the system. we decided to use mail forms to create the template and send email to the customer with details. as part of this we need to send multi line values as well in the mail form - email as shown below. example field here is for working hours of the customer office.
    Saturday - Sunday 10am - 4pm
    Saturday - Sunday 10am - 4pm
    (excluding public holidays)
    Can some body tell me how to send the multiline values using mail forms - emails to customers. right now we receive the last line. I dont see any help in mail form documetation as well on this.
    I appreciate any help in this if you already have some solution.
    Regards,
    Srinivas

    Hi,
    Are you using below any FM to send mail ?
    1. CRM_IM_EMAIL_CREATE_SEND_40 2. CRM_IM_EMAIL_CREATE_SEND_51
    if so, then inside this FM there will be call to BADI CRM_IM_ADD_DATA_BADI . This badi will get the data for custom/additional attribute values. Basically it will get one value ( last value ).
    What u might need to do is after this badi call u need to loop ur values and set it . For doing that u might need to make this FM tocustomer name space or look for implicit enhancements.
    We have done similarly for sending mail duringcampaign execution. That was done in different place.
    hope it might help you to analyse more.
    Regards
    Sandeep

  • Incorrect data value selected when clicking on slicer entry in Excel Services

    We have uploaded various Excel 2013 files containing pivot tables to Sharepoint 2013 and viewed the pivot tables in a browser. The referenced pivot table data is normally a SSAS tabular model. This has been working fine for over 12 months apart
    from one irritating feature.
    Sometimes a clicked slicer entry does not result in the correct slicer value being selected. This typically occurs after using the mouse scroll button to scroll down a list of entries in a slicer. When using the keyboard arrow keys to highlight a slicer
    value and pressing Return to select an entry, the correct value does always seem to be selected - so it appears to point to a mouse scrollwheel issue. Also, after scrolling through slicer entries using the mouse scroll wheel, there appears to be some sort
    of slicer refresh problem that results in a blank entry/entries being displayed either at the top or bottom of a slicer. However, sometimes the correct 'tooltip' is shown for this blank slicer entry. One other point - when using the slicer scrollbar the scroll
    down a list of slicer entries using Firefox, the problem does not seem to occur. IE does not seem to display the same type of slicer scrollbars (only active when the mouse hovers over the slicer) and so this is more difficult to replicate in Ie.
    The worrying factor is that the user is often unaware that the incorrect slicer value has been selected. The problem can be replicated in both IE11 and Firefox. Also our client systems accessed via Citrix display the same problems.
    Any help greatly appreciated. Thanks.
    Graham Goodwin Email: [email protected]

    Hi Graham,
    i built the same version, please correct me if should your environment, is sharepoint 2013 with march 2013 update and your office also the same update. in my labbox seems the issue is not re-producible.
    after some discussion with my colleague, seems there was issue similar like this back in 2010 Excel and the remedy is to update the excel services and to re-install the power pivot at SQL server. back then the issue is because when we scroll the selection,
    it should be locked, so then when we scroll it may have the position to update and refresh the data. one of the workaround is by clicking the item and press enter, by doing this it will refresh the page correctly. the link was:http://www.microsoft.com/en-us/download/details.aspx?id=29074
    i tried to look at our update for the excel services 2013, there are updates in every cumulative updates but there is no particlular update regarding this issue, perhaps you may try this to check in your development environment, if should it may fix the
    issue.
    to re-install the power pivot, you may need to do this on your sql side. 
    http://technet.microsoft.com/en-us/library/ee210708.aspx
    http://technet.microsoft.com/en-us/library/ee210671.aspxi may suggest you to check the ULS log, if should there are issues with powerpivot also, to make sure if should there are no issue
    regarding power pivot. if there is no issues on the powerpivot, then you may need to open a ticket to report this issue, so that we can have a detailed checking to your environment remotely.
    Regards,
    Aries
    Microsoft Online Community Support
    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.

  • HT3228 I set up my work e-mail on iphone.  When I try to send an e-mail, an error code says "Cannot Send Mail", "recipient rejected by server because it does not allow relaying".  What does this mean and how do I correct it?

    I set up my work e-mail account on my iphone 4S.  When I try to send an e-mail message from my phone, an error message occurs "Cannot Send Mail" - "recipient was rejected by the server because it does not allow relaying".  What does this mean and how do I correct it?

    Get the correct mail server settings from your IT department.

  • I am being asked to verify my Apple ID.  When I enter the password I get the message it is wrong.  It says the e-mail address is already verified for another Apple ID and then it says it is sending an e-mail to my e-mail account that I then never receive.

    I am being asked to verify my Apple ID.  When I enter the password I get the message it is wrong.  It says the e-mail address is already verified for another Apple ID and then it says it is sending an e-mail to my e-mail account that I then never receive.  How do I resolve this?

    This is most likely caused by an iCloud sign up (which forces you to use an email address as Apple ID).
    Here's the workaround fix I found after some online research:
    https://discussions.apple.com/thread/3656336

  • Starting just today, when I send an e-mail to a group of friend using BCC, Thunderbird tacks on [Bulk] to my subject. How do I prevent that?

    Starting just today, when I send an e-mail to a group of friend using BCC, Thunderbird tacks on [Bulk] to my subject. How do I prevent that?
    Bill Gray
    [email protected]

    Thunderbird does not modify subject lines. Check your antivirus software or email providers spam filters.

  • I'm not able to send emails with mail.ru. Receiving and reading is not a problem. When I create a email with mail.ru its not possible to send it although its stored in my mail.ru account as "still to be send". What can it be??

    I'm not able to send emails with mail.ru. Receiving is not a problem. Creating a mail is also not a problem and the mail will be stored at mail.ru as still to be send, only problem is its not possible to send. I noticed the buttons for sending change colour when used but they don't perform. What it is?

    Don't know what changed, but all of a sudden able to send emails by mail.ru ...... sorry for bothering.

  • Is it possible to have Thunderbird send an e-mail automatically when a message with a specific subject is received?

    Is it possible to have Thunderbird send an e-mail automatically when a message with a specific subject is received?
    I basically want to create a rule that will send an automatically crafted form e-mail to the sender when I receive an e-mail with the subject line "New Swimmer". Is this possible?

    Thank you Todd, I was able to get it to work but I do have a few more questions...
    1) When I tested this, at the top of the message, before any of the text I created, this showed up: This is a multi-part message in MIME format. --------------040406040801080102080500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
    2) After the signature line, this showed up: --------------040406040801080102080500 Content-Type: image/jpeg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAA AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0K CgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwM DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAC5ApUDASIAAhEBAxEB/8QA HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQID AAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6 Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/
    (It was actually much longer than that)
    Is there anyway that I can get that to go away? I obviously would prefer a nice, cleanly formatted e-mail to be sent just like I would send if I were creating it on the spot.
    Thanks,
    Evan

Maybe you are looking for

  • After updating to windows 8.1

    I updated my notebook to windows 8.1 then my internet is not working any more on the notebook .. ichecked my router and found it working well without any problems and working on other pc's .. and i found a message in hp support assistant that after t

  • Get a 15" rMBP now or wait Broadwell?

    Hey guys, I am a software engineering student from Brazil and I will spend the next year living and studying in US. As some of you know gadgets in Brazil are really expensive so this is a great opportunity to replace my late 2011 13" MacBook Pro with

  • Can i use RHB Now to purchase any app in i tunes

    can i use RHB Now to purchase any App in Itunes

  • Podcast 29

    George Jardine kindly invited email responses to his latest fine podcast. I thought I would share with you my words to George: George, I thoroughly enjoyed your latest podcast with the movers and shakers and found the general nature of the conversati

  • GR tolerance by material group

    Hi, I have a requirement to set GR tolerance by material group, is the standard function can meet this? What is the customize Tcode for this? Thanks