Results 1 to 3 of 3

Thread: How do I send campaign emails without last names?

  1. #1
    HunGery is offline Junior Member
    Join Date
    Oct 2007
    Posts
    3

    Default How do I send campaign emails without last names?

    Hi,

    I imported our email newsletter list to Sugar to send future newsletters with it.
    The subscribers became tartgets and I put them into a target list. The problem
    is that we do not know the first and last name of the subscribers, but the last
    name is required. Therefore I used the same string for every subscriber in the
    import process. That's fine but when I try to send the newsletter, Sugar puts
    the first and last name infront of the email address, like this:

    John Doe <johndoe@acme.com>

    And of course, this is not good for us, because we don't have the names.

    Is there a way to tell Sugar not to put ANYTHING but the email address into
    the To: field?

    Thanks,
    Gergely Karpati

  2. #2
    michaelest is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    37

    Default Re: How do I send campaign emails without last names?

    Open up Sugar->Modules->EmailMan->EmailMan.php

    Find this line (around line 595 in mine, v4.5.1e):
    $mail->AddAddress($module->email1, $module->first_name . ' ' . $module->last_name);

    Edit this line by removing the firstname and lastname variables. When you're done, the line will look like this:
    $mail->AddAddress($module->email1);

    Upload the revised EmailMan.php file to the /modules/EmailMan directory on your server.

    Try it out. Email should not be addressed with firstname lastname. It should only have the address in the To: field.

    good luck.

    - Michael
    michaelest
    sugarCRM OS 4.5.1e (build 1049)
    PHP Version 5.2.3
    Apache 2.2.4
    FreeBSD 6.2-RELEASE #0:

  3. #3
    HunGery is offline Junior Member
    Join Date
    Oct 2007
    Posts
    3

    Default Re: How do I send campaign emails without last names?

    Thanks a lot Michael, your solution works fine!
    Great help!

    Thanks,
    Gergely Karpati

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. SugarSuite 4.0 - New Campaign management
    By manoj in forum Feature Requests
    Replies: 2
    Last Post: 2007-11-23, 10:13 PM
  3. campaign emails cannot send
    By oliva430 in forum Help
    Replies: 0
    Last Post: 2007-02-11, 02:40 PM
  4. Replies: 4
    Last Post: 2006-08-21, 07:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •