Send a document by e-mail or message
alameen ERP 10 lets you send a finished document, such as an invoice, a voucher or a report, as an attachment to an e-mail or a WhatsApp message, without saving it and adding it to the message yourself. Every route opens the same Share File window.
Before you begin
- A sending account must be set up in the file. A user with full permissions sets it up; the steps are in Set up e-mail, WhatsApp and SMS sharing.
- Have the e-mail addresses or phone numbers ready. In the invoice window the program suggests the customer's address and numbers from the customer card.
- The document needs a saved print design. If the list of designs in the print options window is empty, Share, Preview and Print do not work; first create a design in the print designer, from a ready template, and save it under a name.
- The SMS method appears in the window but sends nothing in this version. Use e-mail or WhatsApp.
Steps
From an invoice window
-
Open the saved invoice, then click Share. If the invoice type has no print design selected, the print options window opens first, and it also has a Share button.

-
In the Share File window choose the Share Method: Email or WhatsApp. It starts with the last method you used.
-
Add the recipients in Recipients: type the address or number and press
Enter, or delete what the program suggested. For e-mail, type@meto put in your own address. The field is explained in Share File. -
Click Send. The button is disabled and a progress bar appears at the bottom of the window until sending ends.
-
When sending succeeds the window closes with no message. If you sent to one recipient who is new to the customer card, the program asks whether to save it in the card; click Yes or No.
From a voucher, a payment or a journal entry
- In the voucher, payment or journal entry window click the print or preview button to open the print options window.
- Choose the print design, then click Share. The button is disabled until a design is selected. You then reach the same Share File window.
- Add the recipients and click Send as for an invoice. The program suggests no addresses from a card here, so enter them yourself.
From the document preview
-
In the preview window open the Preview tab, then the Export & Share group.
-
Click Share and choose the format: Word, PDF, HTML or RTF. The group is disabled when export is not available.

-
In the Share File window add the recipients and click Send. The attached file is named after the document.
From the report viewer
- Run the report, then click File > Share. You need the Export Reports permission; without it the page does not appear.
- Click Customize to change the document options, or choose one from Predefined Settings.
- Click one of the format buttons: Send as XLSX, Send as PDF, Send as RTF, Send as XPS or Send as Image. For grids, Send as XLSX opens an export wizard first; finish its steps.
- In the Share File window add the recipients and click Send. The subject of the message is the report title.
Result
- The recipient gets an e-mail with the document title as subject, the program name as text, and the document attached. On WhatsApp, a message arrives with the document and its title.
- No success message appears. If the window has closed, the program has finished sending.
- With a Microsoft account, no copy of the message is kept in your sent folder. Ask the recipient if you need a confirmation.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| Please enter recipients. | You added no recipient. A value that is not valid is not added. | Add a valid address or number and press Enter. |
| Sorry, an error occurred while sending the file. With: Incorrect username or password. | The server refused the sign-in data. | Ask the administrator to correct User Name and Password in Share Settings. |
| Sorry, an error occurred while sending the file. With: Connection error. Please check your ISP address and port number. | The program could not reach the mail server. | Check the internet connection, SMTP Server and Port. |
| Sorry, an error occurred while sending the file. With: Invalid authentication code. | The Microsoft account sign-in has expired, or the Microsoft service refused the message for another reason, such as the size of the file. | Open Program Options > Link > Email and click Login again. |
| Sorry, an error occurred while sending the file. With an English text that mentions Host or From. | The SMTP server or the sender address is not written in the settings. | Ask the administrator to complete SMTP Server and Email. |
| Sorry, an error occurred while sending the file. With: Sorry, an error occurred while sending. | The WhatsApp service refused the request. | Check the number and the service key, then send again. |
| Sorry, an error occurred while sending the file. With another text | With WhatsApp for Business the Report Template may not be selected, or there is no template in the program language. | Open Share Settings and choose a template. |
| Nothing arrives, and no message | You chose SMS. | Use e-mail or WhatsApp. |
After a failure the window stays open, so fix the problem and click Send again without entering the recipients again.
Related
This page applies to alameen ERP 10, version 10.1.79.764.