How to do name personalization in Dw CS6?

I'm trying to figure out what's the html code to do name personalization so when someone open up an email, it shows both their First and Last names. I'm not only trying to figure out what the code is, but how to use it as well. Attached is an example of what I'm trying to replicate. Below is an example & a download link to see what I'm talking about. At the top where it says first name.
[questionable link removed - OP explain with links]

You would need to set up a database of names which can be retreived and looped through as the email is sent out.
I do this with php. Basicially what you do is insert the html code between a $message variable in a php loop. The loop fetches each email address and name from the database and sends it out. Loop example below: The $email_address variable is populated by the email_address field from the database and the personalisation is the $name variable sourced from the database name field which is then inserted in the actual html itself.
<?php do {
//specify the email address you are sending to, and the email subject
$email_address = $row_rsMailOut['email_address'];
$name = $row_rsMailOut['name'];
$subject = 'I'm sending you this email';
//headers - specify your from email address and name here
//and specify the boundary for the email
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: [email protected]";
//Html body
$message = '
<table cellpadding="0" cellspacing="0" border="0" width="600">
<tr>
<td align="left" style="font-family: arial, helvetica, verdana, sans-serif; font-size: 20px; color:#000000; padding: 10px 0 20px 25px;">
To: '.$name.'</td>
</tr>
<tr>
<td><p>A message</p></td>
</table>
//invoke the PHP mail function
mail ($row_rsMailOut['email_address'], $subject, $message, $headers);
echo $row_rsMailOut['email_address']."<br />";
  } while ($row_rsMailOut = mysql_fetch_assoc($rsMailOut)); ?>
<?php
mysql_free_result($rsMailOut);
?>

Similar Messages

  • How do i get my actions from CS6 to work on CC?

    How do i get my actions from CS6 to work on CC? The function keys do not work, I have to reload them everyday. I have saved my action set to my desk top and right now I have to reload them everyday, sometimes this helps sometimes it doesn't. Here is my set of actions...
    /version 3
    /name [ 27
    547261636965277320416374696f6e20323031332d20436c6f7564
    /isOpen 1
    /actionCount 9
    /action-1 {
    /name [ 8
      4d6574616c204252
    /keyIndex 0
    /colorIndex 0
    /isOpen 0
    /eventCount 1
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_openDocument)
      /localizedName [ 4
       4f70656e
      /isOpen 0
      /isOn 1
      /hasDialog 1
      /showDialog 0
      /parameterCount 4
      /parameter-1 {
       /key 1668444016
       /showInPalette -1
       /type (enumerated)
       /name [ 7
        43726f7020546f
       /value 4
      /parameter-2 {
       /key 1885823860
       /showInPalette -1
       /type (integer)
       /value 1
      /parameter-3 {
       /key 1851878757
       /showInPalette -1
       /type (ustring)
       /value [ 31
        543a5c4d6574616c5c5f303161706f2d4c61736572204672616d65732e6169
      /parameter-4 {
       /key 1668246642
       /showInPalette -1
       /type (integer)
       /value 2
    /action-2 {
    /name [ 9
      636f6c6f72206d3230
    /keyIndex 6
    /colorIndex 0
    /isOpen 1
    /eventCount 4
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_openDocument)
      /localizedName [ 4
       4f70656e
      /isOpen 0
      /isOn 1
      /hasDialog 1
      /showDialog 0
      /parameterCount 4
      /parameter-1 {
       /key 1668444016
       /showInPalette -1
       /type (enumerated)
       /name [ 7
        43726f7020546f
       /value 4
      /parameter-2 {
       /key 1885823860
       /showInPalette -1
       /type (integer)
       /value 1
      /parameter-3 {
       /key 1851878757
       /showInPalette -1
       /type (ustring)
       /value [ 40
        543a5c436f6c6f7220476c6173735c4672616d65735c4d32302d522d33336d6d
        2d33306d6d2e6169
      /parameter-4 {
       /key 1668246642
       /showInPalette -1
       /type (integer)
       /value 2
    /event-2 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_selectAll)
      /localizedName [ 10
       53656c65637420416c6c
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /event-3 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_copy)
      /localizedName [ 4
       436f7079
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /event-4 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_closeDocument)
      /localizedName [ 5
       436c6f7365
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /action-3 {
    /name [ 13
      4f70656e20436f6c6f72204252
    /keyIndex 5
    /colorIndex 5
    /isOpen 1
    /eventCount 4
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_openDocument)
      /localizedName [ 4
       4f70656e
      /isOpen 0
      /isOn 1
      /hasDialog 1
      /showDialog 0
      /parameterCount 4
      /parameter-1 {
       /key 1668444016
       /showInPalette -1
       /type (enumerated)
       /name [ 7
        43726f7020546f
       /value 4
      /parameter-2 {
       /key 1885823860
       /showInPalette -1
       /type (integer)
       /value 1
      /parameter-3 {
       /key 1851878757
       /showInPalette -1
       /type (ustring)
       /value [ 37
        543a5c436f6c6f7220476c6173735c4672616d65735c42522d36366d6d2d3630
        6d6d2e6169
      /parameter-4 {
       /key 1668246642
       /showInPalette -1
       /type (integer)
       /value 2
    /event-2 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_selectAll)
      /localizedName [ 10
       53656c65637420416c6c
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /event-3 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_copy)
      /localizedName [ 4
       436f7079
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /event-4 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_closeDocument)
      /localizedName [ 5
       436c6f7365
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /action-4 {
    /name [ 14
      4f75746c696e65205374726f6b65
    /keyIndex 0
    /colorIndex 3
    /isOpen 1
    /eventCount 1
    /event-1 {
      /useRulersIn1stQuadrant 1
      /internalName (ai_plugin_outline)
      /localizedName [ 14
       4f75746c696e65205374726f6b65
      /isOpen 0
      /isOn 1
      /hasDialog 1
      /showDialog 0
      /parameterCount 0
    /action-5 {
    /name [ 15
      3130302520416c6c20434f4c4f5253
    /keyIndex 10
    /colorIndex 0
    /isOpen 1
    /eventCount 3
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (ai_plugin_setColor)
      /localizedName [ 9
       53657420636f6c6f72
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 5
      /parameter-1 {
       /key 1768186740
       /showInPalette -1
       /type (ustring)
       /value [ 10
        46696c6c20636f6c6f72
      /parameter-2 {
       /key 1718185068
       /showInPalette -1
       /type (boolean)
       /value 1
      /parameter-3 {
       /key 1954115685
       /showInPalette -1
       /type (enumerated)
       /name [ 10
        434d594b20636f6c6f72
       /value 4
      /parameter-4 {
       /key 2036690039
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
      /parameter-5 {
       /key 1651270507
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
    /event-2 {
      /useRulersIn1stQuadrant 0
      /internalName (ai_plugin_setColor)
      /localizedName [ 9
       53657420636f6c6f72
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 6
      /parameter-1 {
       /key 1768186740
       /showInPalette -1
       /type (ustring)
       /value [ 10
        46696c6c20636f6c6f72
      /parameter-2 {
       /key 1718185068
       /showInPalette -1
       /type (boolean)
       /value 1
      /parameter-3 {
       /key 1954115685
       /showInPalette -1
       /type (enumerated)
       /name [ 10
        434d594b20636f6c6f72
       /value 4
      /parameter-4 {
       /key 1835496545
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
      /parameter-5 {
       /key 2036690039
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
      /parameter-6 {
       /key 1651270507
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
    /event-3 {
      /useRulersIn1stQuadrant 0
      /internalName (ai_plugin_setColor)
      /localizedName [ 9
       53657420636f6c6f72
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 7
      /parameter-1 {
       /key 1768186740
       /showInPalette -1
       /type (ustring)
       /value [ 10
        46696c6c20636f6c6f72
      /parameter-2 {
       /key 1718185068
       /showInPalette -1
       /type (boolean)
       /value 1
      /parameter-3 {
       /key 1954115685
       /showInPalette -1
       /type (enumerated)
       /name [ 10
        434d594b20636f6c6f72
       /value 4
      /parameter-4 {
       /key 1668899182
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
      /parameter-5 {
       /key 1835496545
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
      /parameter-6 {
       /key 2036690039
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
      /parameter-7 {
       /key 1651270507
       /showInPalette -1
       /type (unit real)
       /value 100.0
       /unit 592474723
    /action-6 {
    /name [ 15
      4368616e676520746f207768697465
    /keyIndex 0
    /colorIndex 0
    /isOpen 0
    /eventCount 1
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (ai_plugin_setColor)
      /localizedName [ 9
       53657420636f6c6f72
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 2
      /parameter-1 {
       /key 1718185068
       /showInPalette -1
       /type (boolean)
       /value 1
      /parameter-2 {
       /key 1954115685
       /showInPalette -1
       /type (enumerated)
       /name [ 10
        434d594b20636f6c6f72
       /value 4
    /action-7 {
    /name [ 13
      617070726f76616c2070616765
    /keyIndex 44
    /colorIndex 0
    /isOpen 1
    /eventCount 4
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_openDocument)
      /localizedName [ 4
       4f70656e
      /isOpen 0
      /isOn 1
      /hasDialog 1
      /showDialog 0
      /parameterCount 5
      /parameter-1 {
       /key 1885431653
       /showInPalette -1
       /type (integer)
       /value 1
      /parameter-2 {
       /key 1668444016
       /showInPalette -1
       /type (enumerated)
       /name [ 7
        43726f7020546f
       /value 4
      /parameter-3 {
       /key 1885823860
       /showInPalette -1
       /type (integer)
       /value 1
      /parameter-4 {
       /key 1851878757
       /showInPalette -1
       /type (ustring)
       /value [ 23
        543a5c417070726f76616c2074656d706c6174652e6169
      /parameter-5 {
       /key 1668246642
       /showInPalette -1
       /type (integer)
       /value 2
    /event-2 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_selectAll)
      /localizedName [ 10
       53656c65637420416c6c
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /event-3 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_copy)
      /localizedName [ 4
       436f7079
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /event-4 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_closeDocument)
      /localizedName [ 5
       436c6f7365
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 0
    /action-8 {
    /name [ 6
      4d6972726f72
    /keyIndex 12
    /colorIndex 0
    /isOpen 1
    /eventCount 1
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (adobe_reflect)
      /localizedName [ 7
       5265666c656374
      /isOpen 0
      /isOn 1
      /hasDialog 1
      /showDialog 0
      /parameterCount 2
      /parameter-1 {
       /key 1634625388
       /showInPalette -1
       /type (unit real)
       /value 90.0
       /unit 591490663
      /parameter-2 {
       /key 1668247673
       /showInPalette -1
       /type (boolean)
       /value 0
    /action-9 {
    /name [ 4
      30783079
    /keyIndex 0
    /colorIndex 2
    /isOpen 1
    /eventCount 3
    /event-1 {
      /useRulersIn1stQuadrant 0
      /internalName (ai_plugin_setColor)
      /localizedName [ 9
       53657420636f6c6f72
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 2
      /parameter-1 {
       /key 1718185068
       /showInPalette -1
       /type (boolean)
       /value 1
      /parameter-2 {
       /key 1954115685
       /showInPalette -1
       /type (enumerated)
       /name [ 10
        434d594b20636f6c6f72
       /value 4
    /event-2 {
      /useRulersIn1stQuadrant 0
      /internalName (ai_plugin_transformPalette)
      /localizedName [ 15
       5472616e73666f726d2050616e656c
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 1
      /parameter-1 {
       /key 1954115685
       /showInPalette -1
       /type (enumerated)
       /name [ 23
        4d6f7665207265666572656e636520696e205820746f3a
       /value 0
    /event-3 {
      /useRulersIn1stQuadrant 0
      /internalName (ai_plugin_transformPalette)
      /localizedName [ 15
       5472616e73666f726d2050616e656c
      /isOpen 0
      /isOn 1
      /hasDialog 0
      /parameterCount 1
      /parameter-1 {
       /key 1954115685
       /showInPalette -1
       /type (enumerated)
       /name [ 23
        4d6f7665207265666572656e636520696e205920746f3a
       /value 1
    this is my set of saved actions...i was told to paste it in here...is this what you ment?

    Who told you to post in the scripting forum…? To be honest you a talking to a pretty small selection of AI users here… Actions would be better discussed in the General Fourm where more users use them… That and I don't know a user who posts in this little community who uses CC yet…
    #target illustrator
    var aiActions = File( Folder.desktop + '/YourActionsNameHere.aia' );
    if ( aiActions.exists ) {
              app.loadAction( aiActions );
    } else {
              alert( 'Could NOT locate your Actions' );
    I've no idea if the above works Im using CS5 so can't test… You could try adding to a Startup Scripts folder in your app folder…

  • How can we do personalization at User Level

    Hi ,
    I have extended a controller .
    and I have to replace the seeded controller to extended controller using personalization at User Level.
    Can any one suggest how can we do personalization at user level.
    Regards,
    Krishna.

    Hi,
    If you have extended controller then why don't you use profile option for restricting at user level.
    In controller use as following :
    processRequest(...)
    super.processRequest(...);
    String userProfile = pageContect.getProfile("Profile option name");
    if(null!= userProfile && !"".equalsIgnoreCase(userProfile.trim()) && "userRestriction".equals(userProfile.trim()))
    //do your changes
    follow same in processFormRequest as well.
    Once it is done...replace you controller at site level. It will only work for the users for whom the profile option is set.
    Regards,
    Mukesh Uchaniya

  • How to move OAF personalization

    Hi,
    Is there any LDT script to move OAF personalization. Can anyone help me?
    Thanks & Regards,
    Dinesh.

    Hi Dinesh,
    Execute the below command :
    exec jdr_utils.listcustomizations('/xxtk/oracle/apps/xbol/expense/casettle/server/PG.xml');
    Please replace the XML file name.
    Then it will list the customizations done on the OAF page. Then select the specified personalized path and give it in the Functional Administrator.
    Could you kindly check the path once again b'se my doubt is the Pages are located in webui folder. You have mentioned server folder. So kindly check the path once again. Below link will help you much in this.
    How to retreive the Personalizations done for Custom Applications
    Thanks and Regards,
    Myvizhi Selvi S

  • How can i name the spool

    hi all,
    In the trx SP01, how can i name the spool as per my naming conventions.
    I am running a report in background and want the spool name to name of the PLANT.
    Please let me know.
    Chandan

    Hi,
    Follow the link for details.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/16c1a8dc4911d299970000e83dd9fc/frameset.htm
    Regards
    Rajesh Kumar

  • Can I use same apple ID on two IPads? And how do I name new IPad..Thank you in advance for any help

    Can I use same Apple ID on my old and my new IPad....and if so, how do I name the new iPad. want to keep games on one iPad and use the other for emails etc. Many thanks

    Hi,
    Yes you can definitely use the same Apple ID regardless of how many apple devices you have. This way you can install the apps that you have already purchased.
    It really does not matter what name your iPad is. You usually rename them under Settings>General>About>Name>
    Just a note if you use the same icloud apple id as well, both devices will recieve the imessages and facetime calls.
    Hope that helps!

  • On how many systems can i install dreamweaver cs6

    About a month ago i have format my whole old pc with also dreamweaver cs6 deleted (i had troubles with my whole pc, thats the reason to format the whole pc) I sell the empty pc. only windows 7 on it.
    Now i have an new pc. and i have installed dreamweaver cs6 on it. it works ok.
    My question is: on how many computers can i install dreamweaver cs6
    I have in my home 2 times the program installed. one on this pc and one on the pc that i selled (The program dreamweaver cs6 was not anymore on that pc that i selled. I had deleted it)
    Now I would like to sell the adobe dreamweaver cs6, becaus i don't need it anymore. is this possible? because i had installed it on two systems in my home. one on this system and one on a system that i selled (deleted the DWcs6 on the selled pc).

    You seem to be asking two different questions.
    The answer to how many computers you can install Dreamweaver on is two. However, if you want to sell Dreamweaver, you must transfer the licence entirely to the other person. In other words, you can't keep Dreamweaver on one of your computers, and sell the other permitted installation to someone else.
    Details of how to tranfer the licence (or sell your copy) can be found here: http://helpx.adobe.com/x-productkb/policy-pricing/transfer-product-license.html.
    However, you say that you deleted your version from one computer. That's not enough. You should have deactivated it first. You will need to get Adobe to cancel the activation on the computer you no longer have. Otherwise, the person who buys from you won't be able to install on two computers.
    This is a user-to-user forum. If you need further help, contact Adobe Customer Support directly.

  • How many times can I re-install CS6?

    How many times can I re-install CS6?

    For ease of access and portability Adobe allows you to install the Adobe product on 2 computers of the same platform. However, you may not run the software simultaneously on both computers.
    If you wish to install the software on third computer you need to de-activate the software from one of the 2 systems, and then install it on the new system.
    Please follow the link to get the deactfivation and activation steps.
    Activation & Deactivation Help

  • How change length name in legend on chart

    Hello.
    version:OBIEE 10.1.3.4.1.090414.1900
    source: Essbase
    I use hierarchy Essbase on the chart.
    And i can't see full name product in legend and i don't understand,
    how change length name in legend?

    user8995811 wrote:
    I don't understand your solve.
    What mean cast(product as Int), it's not work
    I also use drill down in legend, and I should see full name.
    And I have other problem, now drill down work only products name, which length <11http://img693.imageshack.us/img693/8193/pic130.jpg
    will this helpful?
    Thanks,
    Saichand.v

  • How do I name documents in Pages for iPad?

    How do I name documents in Pages for iPad?
    When I create a new documents in Pages it is saved simply as Blank. I need to be able to edit this and give my new document a name such as "Pricing Proposal", etc.
    Is this possible in Pages for iPad, and if so how do I go about it?

    Ah yes: that works. I swear I tried that when searching for how to do this, but I must not have held my finger down long enough.
    Thank you so much for your help

  • I only have PP upgrade DVDs from Cs3 to Cs6, I need to reinstall in new machine, how do I do this without a cs6 disk

    I Have been using PP since 1.5 I am now on CS6 but the last 3 updates have been on upgrade DVDs. I now need to delete and reinstall Premier. How can I do this without  a CS6 disk. I cannot reinstall CS3 and then do the upgrades individually as CS3 was for Win XP and I'm not sure it would work. Is there a dept in Adobe I can contact (no telephone numbers) to get a CS6 DVD. Thank you for any assistance.

    Adobe has made this process much simpler in recent years.
    No need to re-install any version earlier than the current version (CS6). All installers (upgrade or full) contain the full program code. The difference between full and upgrade is in the serial number.
    All you need do is download (link below) and install CS6, enter the CS6 upgrade serial number then enter the CS5 serial number (even if that too is an upgrade).
    Download CS6 products

  • How do I change the default from CS6 to Photoshop CC when I open a photo from Bridge CC?

    How do I change the default from CS6 to Photoshop CC when I open a photo from Bridge CC?

    Thank you. That works when I double click a RAW image, (opens in ACR then when I open from there it goes to CC)  but when I double click a jpg it goes straight to CS6. I'm hoping there is a way to change the default, but haven't found yet. I don't want to remove CS6.

  • How can I name pictures in the Ipad

    I transferred pictures from my Mac to my Ipad.  They are named on the Mac but the names did not come into the Ipad.  How do I name photos in the Ipad?

    You can't with Apple's apps, however, checkout Photo Manager Pro
    http://graphicssoft.about.com/od/iphoneandipodtouchapps/fr/Photo-Manager-Pro.htm
     Cheers, Tom

  • How to add name from text file to jtable?

    hello all,
    how to add name (string) from the notepad file(.txt) into jTable rows.
    I am not able to add it.
    try {
                 FileInputStream fis = new FileInputStream("Devices/Devices_Lst.txt");
                 BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                 String line = null;
                 Vector data = new Vector();
                 line = br.readLine();
                 while ( (line = br.readLine()) != null)
                    int rowCount1 = nmsTable.getRowCount();
                    for(int i=0;i<rowCount1;i++)      
                        myTableInit();  // it initialize the table
                       /* nmsTable.setValueAt(i+1,i,0);
                        Table.setValueAt(line,i,1);
                        Table.setValueAt(" ",i,2);
                        Table.setValueAt(" ",i,3);
                        Table.setValueAt(" ",i,4);
                        Table.setValueAt(" ",i,5); */
                        int rowNo = nmsTable.getRowCount();
                        row.addElement((rowNo+1));
                           //row.addElement(ipText.getText()+"-"+nameText.getText());
                           row.addElement(line);   
                           row.addElement((String)" ");
                           row.addElement((String) "");
                           row.addElement((String) "");
                           row.addElement((String) "");      
                            row.addElement((String) "");      
                            rows.add(row);                                     //rows is the Vector for table row.
                            Table.addNotify(); 
                  br.close();
                 if possible give me some examples.
    thank you.

    For every row you need to create a new Vector and add the data to that Vector. Then the Vector is added to the TableModel.
    If you add 6 items to the single Vector, then you will get 6 columns. So you need to create 6 Vectors and add a single item to each Vector and therefore you will end up with 6 rows with 1 column of data.

  • How do you create a slideshow in cs6?

    how do you create a slideshow in cs6?

    Have a look here http://foundation.zurb.com/page-templates4/orbithome.html
    This is a ready made template using the Foundation framework and already includes a slider. The framework will help you to quickly create Responsive Web Designs.

Maybe you are looking for