Ropardo Sowftware development company

Experience software development with ROPARDO S.R.L.

RSS Feed
RSS Feed
  • Home
  • About ROPARDO S.R.L
  • Our websites

Importing contacts in PHPList

PHPList is another example of an open source powered software that has all the required features of a complete newsletter manager. Build and maintained by Tincan Ltd., PHPList has reached over 300.000 downloads so far and is the perfect solution for a dozen companies when it comes to personalised mailing list or customer relations management (CRM) systems.

Installing and maintaining a PHPList instance is extremely simple and requirements are modest:

  • GNU/Linux
  • Apache web server
  • PHP version 4.3.x or higher (IMAP module required for bounce processing)
  • MySQL database server version 4.0 or higher

More information about requirements and a complete documentation you can find on PHPList’s website.

In this post I will guide you step by step on how to import a list of contacts saved in any worksheet related document (eg. Microsoft Excel, OpenOffice Spreadsheet).

Let’s start by creating a sample spreadsheet with 3 fields: First Name, Last Name and Email. If you want the field Email to match the field email from PHPList database, be careful to match it, since the field is case sensitive. You can insert as many contacts as you wish, to only limit you might encounter is the file size, limited by the memory limit of your server, which can be bypassed by splitting the file in small parts.

You can upload the contacts only from a comma separted value file (CSV), so you need to export the contacts to a CSV file that as the values separted either by a comma or a TAB. The PHPList recommends to use the TAB method.

The requirements of the file structure are minimal, the first row must contain the fields and field names must be exactly the same as the names of the user attributes you created in phpList. However, if you haven’t yet created any user attributes in phpList , you may choose to let phpList create these automatically. In the latter case the attribute names will be based on the field names of the import file.

Now go to PHPList, select ‘Manage Users’ from the admin page. Then select ‘Import Users’ from the list of options.
There are four ways to import existing information:

  • import emails with different values for attributes.
  • import emails with the same values for attributes.
  • import emails from an imap account.
  • import emails from another database.

Before you proceed with the upload, please make sure the temp directory is configured correctly. This block in config.php:

$tmpdir = '/tmp';

A problem that you might encounter is with Microsoft Excel when exporting the contacts. If you choose the TAB method, the exported file doesn’t wrap the values in quotes which will result in not importing correctly the file. Values might be confused with fields in the phpList database.

You have several options when importing contacts:

  • File containing emails
  • Field Delimiter
  • Record Delimiter
  • Test output
  • Show Warnings
  • Omit Invalid
  • Assign Invalid
  • Overwrite Existing
  • Send Notification email

For other or advanced options visit the official website of PHPList: www.phplist.com

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Get Shareaholic
Tags: contacts import PHP phplist spreadsheet

 Posted in: Web Development
January 27, 2010 | Tomita Militaru | No Comments

Leave a Reply

 


  • « Previous post
  • Next post »
  • Recent Posts

    • Installing PyGraphviz on Windows
    • Convert python object to XML representation
    • Liferay Portlet Development
    • Norway Road Show 2011 private meeting invitation
    • Oracle OpenWorld 2011
  • Ropardo is Hiring

  • Subscribe

    • Add to Google Reader or Homepage Add to netvibes TopOfBlogs
  • Recent Comments

    • Rajkumar Pomaji on Bluetooth PC Remote Control
    • Stelian Morariu on GWT 2.1 – Uploading a file using the RPC mechanism
    • Sergio on GWT 2.1 – Uploading a file using the RPC mechanism
    • Artem on Liferay: Deployment will start in a few seconds… and how to realy start
    • rkd80 on GWT 2.1 – Uploading a file using the RPC mechanism
  • Archives

    • November 2011 (1)
    • September 2011 (4)
    • July 2011 (3)
    • June 2011 (2)
    • May 2011 (4)
    • April 2011 (4)
    • March 2011 (3)
    • February 2011 (2)
    • January 2011 (2)
    • December 2010 (1)
    • November 2010 (4)
    • October 2010 (4)
    • August 2010 (3)
    • July 2010 (3)
    • June 2010 (6)
    • May 2010 (8)
    • April 2010 (7)
    • March 2010 (9)
    • February 2010 (6)
    • January 2010 (5)
    • December 2009 (7)
    • November 2009 (9)
    • October 2009 (10)
    • September 2009 (14)
    • August 2009 (10)
    • July 2009 (1)
    • June 2009 (1)
    • May 2009 (1)
    • April 2009 (1)
    • March 2009 (1)
    • October 2008 (3)
    • October 2007 (3)
    • July 2007 (4)
    • June 2007 (1)
    • May 2007 (3)
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • News (15)
    • Ropardo Team (8)
    • Ropardo Products (6)
      • File Tracking Client (4)
      • iManagement (2)
    • Software Development (83)
      • Microsoft.NET (22)
      • Java (40)
      • Oracle (8)
      • Power Builder (3)
      • Liferay (5)
      • Lotus Notes (9)
      • xWiki (4)
    • System Adminstration (13)
      • Linux (10)
      • Windows (3)
    • Programming (1)
    • Uncategorized (3)
    • Databases (10)
      • MSSQL (5)
      • PostgreeSQL (3)
    • Microsoft.NET (1)
    • Web Development (28)
      • ASP/ASPX (3)
      • Content Management Systems (1)
      • HTML/CSS (5)
      • Javascrip/AJAX (8)
      • PHP (7)
    • Oracle E Business Suite (6)
  • Tags

    .NET ajax blog C# certification client CMS control css database Debugging django Domino Eclipse extension file tracking filter fun gentoo google Hibernate how to html image iManagement import Java javascript jQuery liferay Linux Lotus Notes lotus script Oracle Oracle BI Publisher 11g PHP portal PostgreSQL powerbuilder Python SQL Telerik velocity xml Xwiki

© 2010 ROPARDO s.r.l..

Powered by WordPress. Styled by Ropardo