Gmail Script Help :: Unique Subject Line & Carbon Copying Recipients

Hi All,
I am using a script in google apps to send emails using spreadsheet data. I have copied and pasted a script from google developers, but I need help customizing it.
I need to have the subject line pull data from a cell within the spreadsheet (subject line will vary), but don't know how to add it into the script. I also need help adding email addresses to carbon copy on the email!
Here is the script I am using ::
function sendEmails() {
  var sheet = SpreadsheetApp.getActiveSheet();
  var startRow = 2;  // First row of data to process
  var numRows = 2;   // Number of rows to process
  // Fetch the range of cells A2:B3
  var dataRange = sheet.getRange(startRow, 1, numRows, 2)
  // Fetch values for each row in the Range.
  var data = dataRange.getValues();
  for (i in data) {
    var row = data[i];
    var emailAddress = row[0];  // First column
    var message = row[1];       // Second column
    var subject = "Sending emails from a Spreadsheet";
    MailApp.sendEmail(emailAddress, subject, message);
Cells A1 & B1 are titled "Recipients" & "Email Body" respectively (These cells are inactive and are just Headers)
Cell A2 contains the email address of the recipient.
Cell B2 contains the message that will be sent.
In Cell C2 I would like to add the subject line.
In Cell D2 I would like to add recipients that will be carbon copied.
Your help is greatly appreciated :-)

For Google related scripts you should post in the Google developers forum on Google. 
This forum is for Windows administrative scripting with Microsoft products.
¯\_(ツ)_/¯

Similar Messages

  • Problems with sending carbon copy and blind copy with gmail

    I recently started using Safari and would like to continue as it is fast. But have problems with it when I use Gmail that I don't have in Firefox or Internet Explorer. For example when I want to forward and email to several people using the blind copy or carbon copy feature - each time I click a name i have to move the cursor back into the box manually because each time you add a name the cursor jumps to the subject line automatically. I forward a lot of email, How can I make using these features work with Safari? Any help is appreciated. Thanks.

    I would delete the account on the iPod an recreate the account. It is easy to make an error or enter the setting and hard to find the error.

  • Carbon Copy and SuperDuper FAILED during copy for the 8th time! PLEASE HELP

    This is ridiculous! I've spent the past 4 days trying to clone my HD and I'm leaving for about a month in about 3 days and I really need my laptop! Here's the log and I'm hoping you guys can save me!
    SuperDuper:
    | 11:53:41 PM | Info | SuperDuper!, 2.5 (84), path: /Applications/SuperDuper!.app, Mac OS 10.4.11 build 8S2167 (i386)
    | 11:53:41 PM | Info | Started on Wed, May 13, 2009 at 11:53 PM
    | 11:53:41 PM | Info | Source Volume: Macintosh HD, mount: /, device: /dev/disk2s2, media: WD i HTS54 External, interconnect: External USB, file system: "Journaled HFS+", OS: 10.4.11 (8S2167), capacity: 111.47 GB, used: 93.98 GB, directories: 80742, files: 345660, ejectable: NO, ACLs: Disabled
    | 11:53:41 PM | Info | Target Volume: Macintosh HD, mount: /Volumes/Macintosh HD 1, device: /dev/disk0s2, media: WDC WD5000BEVT-22ZAT0, interconnect: Internal SATA, file system: "Journaled HFS+", OS: N/A, capacity: 465.44 GB, used: 0.11 GB, directories: 4, files: 8, ejectable: NO, ACLs: Disabled
    | 11:53:41 PM | Info | Copy Mode : Erase, then copy files
    | 11:53:41 PM | Info | Copy Script : Backup - all files.dset
    | 11:53:41 PM | Info | Transcript : BuildTranscript.plist
    | 11:53:42 PM | Info | PHASE: 1. Prepare to Copy Files
    | 11:53:42 PM | Info | ...ACTION: Preparing Macintosh HD
    | 11:53:42 PM | Info | ......COMMAND => Verifying the integrity of volinfo.database
    | 11:53:42 PM | Info | volinfo.database OK
    | 11:53:42 PM | Info | ......COMMAND => Enabling permissions on Macintosh HD
    | 11:53:42 PM | Info | Refreshing Disk Arbitration ...
    | 11:53:43 PM | Info | ......COMMAND => Verifying that permissions are enabled for Macintosh HD
    | 11:53:43 PM | Info | Permissions on '/' are enabled.
    | 11:53:43 PM | Info | ...ACTION: Repairing permissions on Macintosh HD
    | 11:53:43 PM | Info | ......COMMAND => Repairing permissions on Macintosh HD
    | 11:53:49 PM | Info | parent directory ./Users/Shared/SC Info does not exist
    | 11:54:21 PM | Info | Started verify/repair permissions on disk disk2s2 Macintosh HD
    | 11:54:21 PM | Info | Determining correct file permissions.
    | 11:54:21 PM | Info | User differs on ./Applications/Utilities/Activity Monitor.app/Contents/Resources/English.lproj/ActivityMonitorHelp, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Applications/Utilities/Activity Monitor.app/Contents/Resources/English.lproj/ActivityMonitorHelp, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Applications/Utilities/Activity Monitor.app/Contents/Resources/English.lproj/ActivityMonitorHelp, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Applications/Utilities/Activity Monitor.app/Contents/Resources/English.lproj/ActivityMonitorHelp
    | 11:54:21 PM | Info | Permissions corrected on ./Applications/Utilities/Activity Monitor.app/Contents/Resources/English.lproj/ActivityMonitorHelp
    | 11:54:21 PM | Info | Group differs on ./Applications/Utilities/AirPort Setup Assistant.app/Contents/Resources/English.lproj/InfoPlist.strings, should be 80, group is 224
    | 11:54:21 PM | Info | Owner and group corrected on ./Applications/Utilities/AirPort Setup Assistant.app/Contents/Resources/English.lproj/InfoPlist.strings
    | 11:54:21 PM | Info | Permissions corrected on ./Applications/Utilities/AirPort Setup Assistant.app/Contents/Resources/English.lproj/InfoPlist.strings
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/CIOSupport, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/CIOSupport, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/CIOSupport, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/CIOSupport
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/CIOSupport
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/FireWire.plugin, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/FireWire.plugin, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/FireWire.plugin, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/FireWire.plugin
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/FireWire.plugin
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/InkjetPrinter/SP830Series.plugin, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/InkjetPrinter/SP830Series.plugin, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/InkjetPrinter/SP830Series.plugin, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/InkjetPrinter/SP830Series.plugin
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/InkjetPrinter/SP830Series.plugin
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/InkjetPrinter, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/InkjetPrinter, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/InkjetPrinter, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/InkjetPrinter
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/InkjetPrinter
    | 11:54:21 PM | Info | Symbolic link ./Library/Printers/EPSON/LaserPrinter/Common/PageLibraries/PPBuryInfo.framework /PPBuryInfo->Versions/Current/PPBuryInfo repaired
    | 11:54:21 PM | Info | Symbolic link ./Library/Printers/EPSON/LaserPrinter/Common/PageLibraries/PPBuryInfo.framework /Resources->Versions/Current/Resources repaired
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/LaserPrinter, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/LaserPrinter, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/LaserPrinter, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/LaserPrinter
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/LaserPrinter
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/Libraries, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/Libraries, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/Libraries, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/Libraries
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/Libraries
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/PAP.plugin, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/PAP.plugin, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/PAP.plugin, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/PAP.plugin
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/PAP.plugin
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/TCPIP.plugin, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/TCPIP.plugin, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/TCPIP.plugin, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/TCPIP.plugin
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/TCPIP.plugin
    | 11:54:21 PM | Info | User differs on ./Library/Printers/EPSON/USB.plugin, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./Library/Printers/EPSON/USB.plugin, should be 80, group is 99
    | 11:54:21 PM | Info | Permissions differ on ./Library/Printers/EPSON/USB.plugin, should be drwxrwxr-x , they are drwxr-xr-x
    | 11:54:21 PM | Info | Owner and group corrected on ./Library/Printers/EPSON/USB.plugin
    | 11:54:21 PM | Info | Permissions corrected on ./Library/Printers/EPSON/USB.plugin
    | 11:54:21 PM | Info | User differs on ./System/Library/CoreServices/SKPlugins, should be 0, owner is 99
    | 11:54:21 PM | Info | Group differs on ./System/Library/CoreServices/SKPlugins, should be 0, group is 99
    | 11:54:21 PM | Info | Owner and group corrected on ./System/Library/CoreServices/SKPlugins
    | 11:54:21 PM | Info | Permissions corrected on ./System/Library/CoreServices/SKPlugins
    | 11:54:21 PM | Info | Permissions differ on ./private/var/log/secure.log, should be -rw------- , they are -rw-r-----
    | 11:54:21 PM | Info | Owner and group corrected on ./private/var/log/secure.log
    | 11:54:21 PM | Info | Permissions corrected on ./private/var/log/secure.log
    | 11:54:21 PM | Info | The privileges have been verified or repaired on the selected volume
    | 11:54:21 PM | Info | Verify/repair finished permissions on disk disk2s2 Macintosh HD
    | 11:54:21 PM | Info | ...ACTION: Erasing Macintosh HD
    | 11:54:21 PM | Info | ......COMMAND => Preserving Macintosh HD UUID
    | 11:54:22 PM | Info | 11FFCEFABA43DE77
    | 11:54:22 PM | Info | ......COMMAND => Preserving spotlight indexing state
    | 11:54:22 PM | Info | ......COMMAND => Erasing Macintosh HD
    | 11:54:29 PM | Info | ......COMMAND => Restoring Macintosh HD UUID (11FFCEFABA43DE77)
    | 11:54:30 PM | Info | 11FFCEFABA43DE77
    | 11:54:30 PM | Info | ......COMMAND => Restoring Spotlight search indexing state on Macintosh HD
    | 11:54:30 PM | Info | /Volumes/Macintosh HD 1:
    | 11:54:30 PM | Info | Indexing enabled for volume.
    | 11:54:30 PM | Info | Indexing enabled on Macintosh HD
    | 11:54:30 PM | Info | ...ACTION: Preparing Macintosh HD
    | 11:54:30 PM | Info | ......COMMAND => Enabling permissions on Macintosh HD
    | 11:54:30 PM | Info | Refreshing Disk Arbitration ...
    | 11:54:30 PM | Info | ......COMMAND => Verifying that permissions are enabled for Macintosh HD
    | 11:54:30 PM | Info | Permissions on '/Volumes/Macintosh HD 1' are enabled.
    | 11:54:30 PM | Info | ......COMMAND => Verifying that Macintosh HD ACL support matches Macintosh HD
    | 11:54:30 PM | Info | ...ACTION: Preserving Spotlight state on Macintosh HD
    | 11:54:30 PM | Info | ......COMMAND => Disabling Spotlight search indexing on Macintosh HD
    | 11:54:30 PM | Info | PHASE: 2. Copy Files
    | 11:54:30 PM | Info | ...ACTION: Copying files from Macintosh HD to Macintosh HD
    | 11:54:30 PM | Info | ......COMMAND => Cloning Macintosh HD to Macintosh HD
    | 11:54:30 PM | Info | Copying copy files using script: /Users/PaulLau/Library/Application Support/SuperDuper!/Copy Scripts/Standard Scripts/Backup - all files.dset
    | 11:54:31 PM | Info | Loading 22 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude system temporary files.dset
    | 11:54:31 PM | Info | Loading 6 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude system cache files.dset
    | 11:54:31 PM | Info | Loading 1 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude Norton FileSaver files.dset
    | 11:54:31 PM | Info | Loading 1 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude Google Desktop Index files.dset
    | 11:54:31 PM | Info | Loading 1 commands from copy script /Applications/SuperDuper!.app/Contents/Resources/Copy Scripts/Exclude iTunes Temporary files.dset
    | 11:54:31 PM | Info | Loading 0 commands from copy script /Users/PaulLau/Library/Application Support/SuperDuper!/Copy Scripts/Standard Scripts/Backup - all files.dset
    | 11:54:31 PM | Info | /
    | 11:54:34 PM | Info | /cores
    | 11:54:34 PM | Info | /.HFS+ Private Directory Data
    | 11:54:34 PM | Info | Ignoring /.hotfiles.btree
    | 11:54:34 PM | Info | /automount
    | 11:54:34 PM | Info | /Users
    | 01:15:50 AM | Info | Ignoring /Users/PaulLau/Music/iTunes/Temp File.tmp
    | 01:29:23 AM | Info | /usr
    | 01:37:30 AM | Error | ***FAILED***: result=256 errno=22 (Unknown error: 0)
    Carbon Copy:
    (CCC.log)
    Operating System: Version 10.4.11 (Build 8S2167)
    Hardware:
    hw.machine: i386
    hw.model: MacBookPro2,2
    hw.logicalcpu: 2
    hw.physmem: 2147483648
    vm.loadavg: 0.23 0.10 0.15
    Task: Disk-to-disk clone
    Source: Macintosh HD (/dev/disk2s2, 54DEB44B-185A-3372-AA7F-5D7B3AC8ED8D)
    Mount point: /
    Filesystem: hfs
    Capacity: 111.47 GB
    Used: 93.99 GB
    Available: 17.48 GB
    Mac OS X version: 10.4.11
    Target: Macintosh HD (/Volumes/Macintosh HD 1/ [/dev/disk0s2, 29D1F59F-2B8F-3AF5-8684-948A10EB6524])
    Mount point: /Volumes/Macintosh HD 1
    Filesystem: hfs
    Capacity: 465.44 GB
    Used: 108.80 MB
    Available: 465.34 GB
    Mac OS X version: Mac OS not installed
    Bootability: This volume will be bootable.
    Cloning method: Backup everything
    Delete items on target that aren't on the source: No
    02:00:11 The target volume has ownership enabled.
    02:00:11 The target volume has Access Control Lists enabled.
    02:00:11 Authenticating...
    02:00:13 Initiating synchronization engine...
    02:00:15 Cloning...
    02:53:46 rsync: readlink_stat("/Library/Printers/Canon/BJPrinter/Frameworks/BJVersionControl.fr amework/Versions/Current") failed: Invalid argument (22) (51)
    02:54:13 rsync: readlink_stat("/Library/Printers/EPSON/InkjetPrinter/Halftone/HalftoneIIMo.fram ework/Versions/Current") failed: Invalid argument (22) (51)
    04:22:37 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /Volumes/Home/Users/bombich/Development/Bombich_Software/rsync-3.0.5/main.c(104 7) [sender=3.0.5] (51)
    04:22:37 rsync: Some errors were encountered during the backup., Error code: 51
    04:22:38 Sync Engine warnings: (
    "rsync: readlink_stat(\"/Library/Printers/Canon/BJPrinter/Frameworks/BJVersionControl.f ramework/Versions/Current\") failed: Invalid argument (22)",
    "rsync: readlink_stat(\"/Library/Printers/EPSON/InkjetPrinter/Halftone/HalftoneIIMo.fra mework/Versions/Current\") failed: Invalid argument (22)",
    "rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /Volumes/Home/Users/bombich/Development/Bombich_Software/rsync-3.0.5/main.c(104 7) [sender=3.0.5]"
    (console.log)
    Disk Utility started.
    Preparing to erase : “Macintosh HD”
    Creating Partition Map
    Formatting Disk
    Erase complete.
    crontab: no crontab for PaulLau
    2009-05-14 08:03:47.562 SuperDuper![3102] .scriptSuite warning for attribute 'boundsAsQDRect' of class 'NSWindow' in suite 'NSCoreSuite': 'NSData<QDRect>' is not a valid type name.
    2009-05-14 08:03:47.563 SuperDuper![3102] .scriptSuite warning for type 'NSTextStorage' attribute 'name' of class 'NSApplication' in suite 'NSCoreSuite': AppleScript name references may not work for this property because its type is not NSString-derived.
    2009-05-14 08:03:47.563 SuperDuper![3102] .scriptSuite warning for type 'NSTextStorage' attribute 'lastComponentOfFileName' of class 'NSDocument' in suite 'NSCoreSuite': AppleScript name references may not work for this property because its type is not NSString-derived.
    2009-05-14 08:03:47.563 SuperDuper![3102] .scriptSuite warning for type 'NSTextStorage' attribute 'title' of class 'NSWindow' in suite 'NSCoreSuite': AppleScript name references may not work for this property because its type is not NSString-derived.
    2009-05-14 08:03:47.563 SuperDuper![3102] .scriptSuite warning for attribute 'boundsAsQDRect' of class 'NSWindow' in suite 'NSCoreSuite': 'NSData<QDRect>' is not a valid type name.
    2009-05-14 08:03:47.563 SuperDuper![3102] .scriptSuite warning for superclass of class 'NSAttachmentTextStorage' in suite 'NSTextSuite': 'NSString' is not a valid class name.
    firefox-bin(3107,0xa000d000) malloc: * Deallocation of a pointer not malloced: 0x1; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
    Message was edited by: beat4dasoul

    Complete what Kurt has told you first. Then - if you use CCC - check the details in
    B4 U post...
    noting especially the two links to details for preparation of a target drive and the "Proof of pudding" test.
    Then make use of this section of CCC Help.
    BTW, having both source and target with the same name is an invitation to a mistake. Rename one or both of them. Use meaningful names to make life easier (and safer) for yourself. Select a volume's icon in the Finder, hit <return>, type the new name, hit <return> again. The OS will notice the new name(s) immediately. Use only simple alphanumeric characters, preferably with no spaces. Even something boring like "myCloneVolume" would be better than what you currently have.
    Andreas

  • I can't see my Gmail messages or attachments in Firefox, only the subject line, but I can in IE or when accessing from my Android.

    I use Firefox 7.0.1 on my desktop using Windows 7. As of yesterday I can no longer view my messages in Gmail when I click on them using Firefox. A window comes up, but it just shows the subject line, not the rest of the message. I can see them in Outlook, and I can see them in Gmail from IE or from my Android.

    This is only happening on my e-mail account, My mail will open in Explorer fine, but in Firefox it only shows the subject, it shows the rest of the message in a separate tab if I try to print the message.
    My wife was able to open her gmail on a separate tab, and hers loaded just fine, subject and the rest of the message but on mine, I can only see the message and the Google adds, grrrrr please help!!! is this an Issue with Gmail???

  • I've lost the use of predictive text in the subject line of gmail and I want to get it back

    I used to be able to hit a few characters in the subject line of a gmail compose window and it would bring up past subject lines with the same characters. That doesn't work anymore. How do I get it back? I've tried changing the settings under preferences/privacy/history but it doesn't seem to make any difference. Any ideas? Thanks

    See:
    *Firefox > Preferences > Privacy > Firefox will: "Use custom settings for history": "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete
    This Gmail web page may be using autocomplete=off to prevent Firefox from storing form data.
    You can remove autocomplete=off with a bookmarklet to make Firefox store form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    Note that Firefox won't auto-fill saved form data automatically when autocomplete=off is used, so you need to double-click the empty name field to get a drop-down list.

  • Gmail no longer remembers cache in the subject line of a new email

    Per Gmail, they are saying my browser is the cause of no longer remembering history/cache in the subject line of a new email. They suggested going to the security information on my provider and there does not appear to be any button to activate remembering that type of history/cache

    Hello Kevan.
    The Mail.app stores all message recipients in the list of Previous Recipients in Mail (which are stored in the Address Book data file) and the address autofill feature pulls from the Address Book and list of Previous Recipients.
    At the Mail.app menu bar, go to Window and select Previous Recipients.
    A previous recipient that is already entered in the Address Book will have a vCard icon to the left of the name or email address. You can remove a previous recipient from the list or add a previous recipient to the Address Book.

  • Can I script an email button to put one of the form fields in the subject line and to name the form?

    This is a fillable form on a website.  We want people to complete the form, then click on the email button to send it to us.  Prefer to have the "name" field populate in the "subject line" of the email, and also rename the form that same field name.  Is that possible?

    In the sample I used the below syntax to send an email..
    event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
    The highlighted ones are local variables which will hold the value from the form fields.
    If you want to get the Subject from Name field in the form, use some thing like this.
         var strSubject = name.rawValue;
         //and then pass the value to the code.
         event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF"});
    Hope this helps..
    Thanks
    Srini

  • Can you hide the "unique tracking number" in the email subject line?

    I noticed that if I use the "New Activity -> Email" function from the CRM toolbar in Outlook, it appends the subject line with a CRM:XXXXXXX unique tracking number.  I'm not sure that my customers would react very well to knowing that I am tracking this email in my CRM system, so, is there a way to NOT show this number yet still track the email?  From what I've read, we can turn off this feature globally, but that would prevent us from tracking emails all together.  I was wondering why this information wasn't just stored in the header of the email instead of being blatantly obvious in the subject line.  FYI, we are on CRM 4.0.
    Thanks,
    Dave

    Hi Dave,
    although Dynamics CRM uses the tracking token to match the mail with specific records, it doesn't rely completly on that token.
    There is also a feature called smart matching which is used to assign the mails.
    See http://blogs.msdn.com/crm/archive/2008/11/11/microsoft-dynamics-crm-email-correlation-and-smart-matching.aspx and http://blogs.msdn.com/crm/archive/2009/06/23/how-to-toggle-smart-matching-in-microsoft-dynamics-crm-4-0.aspx

  • Email subject line with Alert unique Identifier,host name, instance name

    Is there any way that i can set the following information in the notification email subject line,
    Alert Unique Category,
    Host name,
    instance name.
    Please advise.
    Thanks.

    Yes I did look under the email customization section. But i am unable to get how to place alert Unique ID with in the subject line as i don't see any variable to place under it.
    Please advise.
    Thanks.

  • HELP! Has Carbon Copy Cloner Killed This G5?

    I've got myself into a right old pickle, and wondered if any of the Mac faithful would be able to share any bright ideas on how to proceed.
    Essentially, here's how I spent my Bank Holiday;
    Mission - To completely clone the 150GB System and 230GB 'Projects&Sounds' internal drives on a Dual 2GHz G5 - both drives over 99% full. OS=10.3.5
    Began by downloading SuperDuper only to find Sys Reqs not met. (10.3.9 required).
    Used Carbon Copy Cloner to duplicate 230GB Internal to 240GB partition of 400GB Ext FW800 drive - all good.
    Used CCC to move 56GB of files from 150GB Ext FW400 drive to 130GB partition of 400GB Ext FW800 drive - all good.
    Used CCC to clone internal 150GB System drive to 150GB Ext FW 400 drive. 'Bootable clone' selected.
    At end of cloning process, with roughly 1GB left to go, CCC hung up.
    Force quit CCC yielded no result.
    After 2 hours, whole system was frozen, including menu-bar clock & dock. Hard restart from power button.
    Stalled at grey screen - Apple & spinning cursor
    Disk utility verified all clones OK - backups intact. Initial side by side check reveals all files seem to be present.
    Mission now to get G5 going again.
    Hooked up 1st G5 by firewire Target Disk Mode to 2nd G5.
    Ran Disk Utility on 1st G5's System drive from 2nd G5. Error reported; "The underlying task reported failure on exit (-9972)" Also reported "Keys out of place" Failed to verify/repair.
    Installed Disk Warrior 3.02 on 2nd G5 & ran on 1st G5's System drive. Reported major differences between original and rebuilt directory in preview, chiefly in HD Library (App Support) & System Folder.
    Made note of differences and rebuilt directory of 1st G5's System drive with Disk Warrior.
    Rechecked with Disk Utility, 1st G5's System drive appeared fine this time.
    Attempted to boot - stalled at grey screen - Apple & spinning cursor
    Booted 1st G5 into Single User mode; fans screaming; reported
    "Can't open Library: / System / Library / Frameworks / CoreFoundation.Framework / Versions / A / CoreFoundation (No such file or directory, Errno = 2)"
    Ran fsck, all good.
    Exited Single User mode, Finder failed to launch.
    Relaunched Target Disk Mode, copied missing file from clone back to original.
    Attempted to boot - stalled at grey screen - Apple & spinning cursor
    Booted into Single User mode; reported huge screen of gobbledygook (see pic!)
    Attempted to reinstall System 10.3.4 (Archive & Install) from Install disk - got first kernel panic
    Would not boot from install disks
    Ran Apple Hardware test - test would not run
    Error - "Invalid Memory Access at %SRR0: 00000000.00000000 %SRR1: 10000000.00083030"
    Apple PowerMac7,3.5.1.8f2
    BootROM built on 05/21/04 @ 10:56:59"
    Reinstalled system 10.3.4 over firewire Target Disk Mode from 2nd G5 using Install disks.
    Attempted to boot - Kernel panic.
    Ran Apple Hardware test again - test still would not run.
    Error - "Invalid Memory Access at %SRR0: 00000000.00000000 %SRR1: 10000000.00083030"
    Apple PowerMac7,3.5.1.8f2
    BootROM built on 05/21/04 @ 10:56:59"
    Unplugged all FW & USB peripherals
    Removed all but 2 of RAM chips (8 x 1GB DIMMS installed in machine altogether)
    Attempted to boot - Kernel panic.
    Swapped RAM around in pairs
    Attempted to boot - Kernel panic.
    Ran Apple Hardware test again - test still would not run.
    Error - "Invalid Memory Access at %SRR0: 00000000.00000000 %SRR1: 10000000.00083030"
    Ran out of ideas, patience and hair to pull out. Went home to sob on the wife's shoulder and hug the cat.
    Now what?
    I have to get this computer working again fast!
    cheers, and sorry for the long post
    Dave
    G5 2GHz   Mac OS X (10.3.5)  
    G5 2GHz    

    Just an update on the situation;
    First of all, many thanks you guys for all the replies and helpful suggestions - I was a few millimetres from the end of my tether when I first posted.
    After I ran DiskWarrior on the System Drive, it appeared to be OK according to both DU and fsck, so I was able to do another backup copy of all the important stuff. I'd already used Target Disk Mode to create some space on it, prior to my Archive and Install of 10.3.4 over firewire. This still had no effect, however.
    As luck would have it, yesterday morning a mate of ours who is an audio systems tech was in the building on another job, so he popped by to have a look. When I opened it up, it was like it had been found in the middle of an ancient pyramid, brown sandy dust all over the fans and the heatsink. We performed a PMU reset, swapped the ram around again, unplugged the HDs and attempted to boot from CD - still no joy. Quite a lot of swearing though.....
    My techy mate confirmed my worst fears that it is most likely a blown processor or logic board. We're going to swap in another system drive today just to make sure, but it doesn't look good. Fortunately, he was able to loan my colleague another machine to use whilst the G5 goes away to sickbay for diagnosis and a no-doubt costly repair, but we still had to reinstall and reauthorize the mountain of plugins (over 250!), then copy over more than 100Gb of project and audio files from the backups, which took until 10pm last night to accomplish. We'll have to do the same thing again if and when the original machine comes back from repair.
    I'm devastated, this is exactly the disaster I was trying to avoid in the first place. I didn't know you could clone from DU (thanks Tom) - if I did, I probably wouldn't be in this mess..... you live and learn, eh?
    This morning though, everything seems to be running fine, the temporary G5 is performing well. Three days behind schedule, looking at a possible £1500 repair bill, but at least we can get some real work done now!
    Thanks again to everyone
    Dave
    G5 2GHz    

  • Script to split line of copy into 2 frames?

    Hello,
    I was wondering if anyone has come across a script that could split a line of copy within a text frame into two frames (at a point of the users choosing).
    The example below is similar to what I'm using in a catalog as a folio/photo credit. At the end of the design process, I have to go through and split text objects that are in color out from text objects that are b/w (this is so the catalog can be translated into a second language. Color items are on a common layer, each language is in black only and on it's own layer in the document).
    Seen anything like that kicking around the internet?

    Hi vasu_479,
    Based on your description, you want to split columns in source table into two destination tables.
    After testing the scenario in my environment, we can use Multicast to achieve your requirement. Just as you said, the Multicast would return all columns. But we can use the method below to achieve the goal:
    If the destination tables are existing tables, we can just map column A, B and D as Input Columns to the corresponding Destination Columns in the Mapping tab for destination A. Then map column A, C, D and E in destination B.
    If the destination tables are created in the Destination component, we can modify the create table query to directly create A, B and D for destination table A, create A, C, D and E for destination table B. Then there columns would be automatically mapped
    in the Mappings pane.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Script to extract info from Mail subject line?

    I'd like to set up a rule that copies all subject lines containing text I specify to a text file. For example... all subject lines containing "has subscribed" would be copied to subscribers.txt. Is this possible?

    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #E6E6EE;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    using terms from application "Mail"
    on perform mail action with messages theMessages
    tell application "Finder" to set ptd to (path to desktop folder) as string
    tell application "Mail"
    repeat with theMessage in theMessages
    if subject of theMessage contains "has subscribed" then
    set theText to (subject of theMessage & return)
    set theFile to ptd & "subscribers.txt"
    set theFileID to open for access file theFile with write permission
    write theText to theFileID starting at eof
    close access theFileID
    end if
    end repeat
    end tell
    end perform mail action with messages
    end using terms from
    </pre>

  • Carbon Copy Cloner help

    I am currently deployed to Afghnaistan and after my arrival I started receiving kernel panic warnings. Reading the writing on the wall I bought a bigger internal hard drive and was using CCC last night. The program got 10 Gb away from finishing and came across an error. This is the bad file - /Users/derekquackenbush/Pictures/iPhoto Library/Database/apdb/Library.apdb":
    Carbon copy cloner gave me this advice - Input/output error (5)\nAdvice: This file or folder is sitting on a bad section of hard disk media and is unrecoverable. Delete this item (i.e. in the Finder) and restore it from a known good backup, then try the backup task again. My three basic question are -
    1) I do not have a back up of the hard drive and I do not know what this file contains
    2) What deleting it will do?
    3) How do I get a new  or replacement file?
    The laptop is my main source of communication back to the family. Any help would be greatly appreciated. Thanks.

    I am currently deployed to Afghnaistan and after my arrival I started receiving kernel panic warnings. Reading the writing on the wall I bought a bigger internal hard drive and was using CCC last night. The program got 10 Gb away from finishing and came across an error. This is the bad file - /Users/derekquackenbush/Pictures/iPhoto Library/Database/apdb/Library.apdb":
    Carbon copy cloner gave me this advice - Input/output error (5)\nAdvice: This file or folder is sitting on a bad section of hard disk media and is unrecoverable. Delete this item (i.e. in the Finder) and restore it from a known good backup, then try the backup task again. My three basic question are -
    1) I do not have a back up of the hard drive and I do not know what this file contains
    2) What deleting it will do?
    3) How do I get a new  or replacement file?
    The laptop is my main source of communication back to the family. Any help would be greatly appreciated. Thanks.

  • Auto complete in subject line of email in google no longer works. Gmail used to work with autocomplete subject line and no longer responds.

    Somewhere in the updates of Google and Firefox the subject matter history does not remember the common subjects that I use everyday. The auto feature saved me typing the subject line every time I send repetitive messages and mail to different groups. No forums online seem to have an answer but many have the problem. I don't know if it is a Google issue or a browser issue.

    Perform the suggestions mentioned in the following articles:
    * [[Form autocomplete entries are not saved]]
    * [[Form autocomplete]]
    Check and tell if its working.

  • Mail Subject Line Automatically Selects All Text When Typing

    In Mail I'm typing along in a subject line and randomly the all of text I've entered becomes selected. Then my next keystroke deletes the first entered text. Very frustrating, and I can't figure out why this happens. Maybe OSX's spell checker? How do I turn that off to test?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -f -a TextEdit 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; sudo defaults read com.apple.loginwindow LoginHook; sudo crontab -l; } 2> /dev/null | open -f -a TextEdit 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; crontab -l 2> /dev/null; } | open -f -a TextEdit 
    Step 4
    ls -A /e*/{la,mach}* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -f -a TextEdit  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' | open -f -a TextEdit 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

Maybe you are looking for

  • Re: How to see transfer structure in sap r/3 system

    Hi All, In generic extraction I have created extract structure ,in the extract structure I have 6 fields but I am trasferring only 4 fields to the BW system ,So it will creates transfer structure in BW System with the 4 fields but when the Transfer s

  • Please send me the easiest code...thanks :)

    Please send it to [email protected] thanks guy! Question 1 (10 marks) Write a program that asks a user to type A, B, C, or Q. When the user types Q, the program ends. When the user types A, B, or C, the program displays the message �Good job!� and

  • Photoshop CS3 and  iMac

    Before buying my iMac I used Photoshop CS3 on my PC lap top. Now having bought the iMac which is brilliant I cannot really afford to purchase another copy of Photoshop CS3 at the moment. I have VMFusion on my iMac so is it feasable that I can load my

  • SAP MM Classification System

    Dear All, Here I need help again. This time it is regarding the material grouping methodology which we want to implement for us. The logic is to keep the material to be used, possible to recognize to the lowest level of BOM (to the extent SAP allows)

  • Convert files from .UPX to .PSD

    How can I convert files to photoshop elements .PSD format from Photo Explosion .UPX format? I am trying to move work I created with Photo Explosion because that program crashed and will not reinstall and run. I still have Photo Explosion running on a