Import and export
You can bring receivers into JoomSMS from a CSV file or from text you paste, and export them to a CSV file. Both work on JoomSMS receivers. Open Components > JoomSMS and use Import or Export in the section Tools of the sidebar, or the buttons of the same name on the Receivers list.
Import
1. Choose the source
Under Import From, choose:
- Textarea: paste lines of text, one receiver per line, values separated by commas or semicolons.
- File: Upload a file in CSV format. The page shows the largest file your server accepts.
The first line can hold column names, for example:
user_firstname;user_lastname;user_phone_number;user_email
Anna;Martin;+33612345678;[email protected]
JoomSMS detects the separator. A phone number column is required.
2. Match the columns
The next page shows the first lines of your data. For each column, choose the receiver field it goes into, or Do not import this column.
| Setting | What it does |
|---|---|
| Data Charset | The character set of your file. Choose the one your spreadsheet saved with if accented letters come out wrong. |
| Import first line ? | No when the first line holds column names. |
| Overwrite existing user's information | Yes updates receivers whose phone number already exists. No leaves them as they are. |
| Import users as blocked | Yes puts the imported numbers on the block list. |
| Subscribe the imported users to | Tick the groups the receivers join. |
| Subscribe users to a new group | Enter a Group Name to create a group for this import. |
Click Import. Lines with an invalid phone number are skipped and listed with their line number. Numbers without a country code get the default country.
The uploaded file
JoomSMS saves the import data as a CSV file in media/com_joomsms/upload and deletes it after a successful import. When an import fails, the file stays there and can be opened by anyone who guesses its name. Delete leftover importFile_... and importTextArea_... files from that folder after a failed import.
Export
- Open Export.
- Under Fields to export, tick the columns you want.
- Under Parameters, set the Exporting format and the Separator: Semicolon ( ; ) or Comma ( , ).
- Leave Excel security on. It prefixes values that start with
=,+,-or@with a tab, so a spreadsheet does not run them as formulas. - Under Filters, choose the Groups, Only users subscribed to at least one of the selected groups, and the User status: Blocked, Not blocked or All users.
- Click Export. The browser downloads the CSV file.
Front-end senders can import into and export from their own groups when you allow it, see Front-end management.