Setting up email in 1s. Publications

Setting up an email client for 1C:Enterprise 8.2 databases(using the example of Mail.Ru)

1. Open the directory of mail accounts: Directories - Email - Accounts Email .

2. Create a new account that needs to be configured, or select System Account to set the default send.

3. Enter your email account settings.

email: your mailing address

SMTP server Yandex Mail, Google Mail, Mail.ru)
IMAP or POP3 server:
the flag must be checked
60 seconds.

4. After entering the settings, you need to press " Check account settings

Setting up an email client for 1C:Enterprise 8.3(using Google Mail as an example)

1. Activate the built-in email client. Open tab Administration, go to section Organizer, set flag Mail client.

2. Go to account settings. You can create a new user account ( Email accounts), or select Setting up a system account to configure sending letters from 1C by default.

3. Fill in the fields E-mail address, Password, set the switch Detect connection parameters automatically.

If the setup fails, check the settings:

SMTP server: depending on your mail service (Yandex Mail, Google Mail, Mail.ru)
IMAP or POP3 server: depending on your mail service.
flag Use a secure SSL connection must be noted
Server waiting time - no less 60 seconds.

5. After entering the settings, you need to click " Verify account" to make sure your email is configured correctly.

Possible difficulties

If you encounter difficulties setting up your email client, we recommend that you additionally check your email account settings.

Google Mail

In your mail account settings for working with 1C, you must allow access to email to unverified applications (i.e., applications other than standard mail programs).

To do this, just go to your account settings https://www.google.com/settings/security/lesssecureapps And Turn on option Access to Account.

Also make sure that your mail settings allow the use of IMAP or POP (depending on which configuration method is selected in 1C).

If you know why there is an email client setting in 1C, the client may not read it and go straight to the instructions. For the unversed, let’s take a look at this amazing opportunity and benefits.


Example 1: sending an invoice for payment!

Creating a document in 1C

Saving to disk

Open mail

Attach a document

Specify the postal address of the counterparty

Send


Or you can do this:


This procedure will take a couple of minutes, the rest of the time can be spent more productively: drinking delicious tea with colleagues) or do something else.

You can send by mail from 1C not only invoices, but any documents!!!

So, all you need to do is configure it once

Setting up an email client in 1C 8.2

The updated versions of the configuration support setting up a mail client from 1C with support SSL. If, after setting up mail according to the instructions, you receive errors, we recommend updating the configuration.

Setting up an email client for 1C databases: Enterprise 8.2(using the example of Mail.Ru)

1. Open: Service / Interactions / Email Accounts.


2. Create a new account that needs to be configured, or select System account to set the default send.


3. Enter your email account settings.


Name– The name by which letters will be signed
Mailing address- Your email address
User– Email user (by default, everything usually has part of the email address before the @ symbol)
Password
Incoming mail server– Yandex Mail, Google Mail, Mail.ru
Outgoing mail server- Yandex Mail, Google Mail, Mail.ru
Click
Check mark
Check mark
Click, default ports will be set
Server wait time set to at least 60 seconds
Outgoing mail server mark as in the picture see above

After entering the settings, you need to click " Check account settings" to make sure your email is configured correctly.

Setting up an email client for 1C:Enterprise 8.3

Setting up an email client for 1C:Enterprise 8.3(using the example of Mail.Ru)

1. Activate the built-in email client. Open tab Administration, go to section Organizer,


1.1 Set flag Mail client.


2. Go to account settings. You can create a new user account ( Email accounts), or select Setting up a system account to configure sending letters from 1C by default.

3. Fill in the fields E-mail address, Password, set the switch Detect connection parameters automatically.


If the setup fails, check the settings:

  1. 1. SMTP server: depending on your mail service (Yandex Mail, Google Mail, Mail.ru)
  2. 2. IMAP or POP3 server: Depends on your email service.
  3. 3. Use a secure SSL connection flag must be checked
  4. 4. Server waiting time - no less 60 seconds.

If you encounter difficulties setting up your email client, we recommend that you additionally check your email account settings.

Google Mail

In your mail account settings for working with 1C, you must allow access to email to unverified applications (i.e., applications other than standard mail programs).

To do this, just go to your account settings https://www.google.com/settings/security/lesssecureapps And Turn on option Access to Account.




Also make sure that your mail settings allow the use of IMAP or POP (depending on which configuration method is selected in 1C).




https://mail.google.com/mail/u/0/#settings/fwdandpop

Yandex Mail To send mail from 1C, in the Yandex mailbox settings, check whether the parameters are enabled Allow access to your mailbox using mail clients In chapter

Mail / All settings / Mail programs

Example 2: “Send a document by mail with a stamp and signature”


Or you can do this:


More difficult in the classic version:

  • Set up mail in 1C according to the instructions described above
  • Implement an external printed form with facsimile output

The second point cannot be accomplished independently in Kazakhstan versions of 1C 8.2 and 8.3 without the involvement of a programmer. Our clients have the opportunity to order this integration in " Personal account", section "Additional services".

Every novice 1C information database administrator sooner or later faces the question: how to add a user to 1C. And if in version 7 of the program the answer to this question could be given unambiguously: through the Configurator, then in version 8, depending on the version of the program, the methods for adding a user can vary significantly.

Why do you need to differentiate by users?

Each infobase user has a set of specific rights and roles. To restrict access to specific configuration objects and exceptions conflict situations associated with incorrect input and correction of information and there is a list of users.

In addition, the user list allows you to:

  1. Adjust the program interface, excluding from the visual display those elements to which access is not needed;
  2. Record changes in the database in the context of this list.

The main rule when editing this list: a user with full (administrative) rights should always be added first.

Adding a user via the Configurator

In fact, from the programmer's point of view, the main list of users is stored in the Configurator. It is this that can be opened by going to the Administration->Users menu (Fig. 1)

In the table that opens, two columns “Name” and “ Full name» user. Actions with an existing user (restricting and adding rights, changing the password, etc.) can be performed by activating the line by double clicking the mouse.

To add a new user, you must click the icon on the command panel of the table or the Insert (Ins) button on the keyboard, which will open a dialog box (Fig. 2)

Rice. 2

Briefly about the form elements on the “Basic” tab:

  • Name – contains text information that will be displayed in the user selection list when logging in; the name of the current user can be read in the code of program modules using the UserName() method;
  • Full name – can coincide with the user name; most often the full name of the employee is written here.
  1. By internal means programs, for which you need to set a user password;
  2. By means operating system;
  3. Using OpenID.

The “Show in selection list” checkbox set in the “1C Enterprise Authentication” submenu indicates that the user will be displayed in the list called up when the system starts. If you do not install it, then to log in this user will have to enter his name (as it is specified in the Configurator) using the keyboard in the appropriate window.

Rice. 3

There are only four elements on the “Other” tab (Fig. 3):

  • Available roles (by checking certain boxes, you can significantly limit or increase the possibilities for changing information);
  • Main interface (you can adjust the visual display of the system);
  • Language (main program language);
  • Launch mode (managed or regular application).

Adding a user in 1C Enterprise mode

Starting from platform 8.2, adding new users became available in 1C Enterprise mode. For this purpose, the corresponding “Users” directory was added to the database.

In thin client mode, you can access it by going to the “Administration” tab (Fig. 4) -> User and rights settings -> Users

Rice. 4

In the form that opens, to create a new user, you must click the “Create” button. A window will appear (Fig. 5)

Rice. 5

As you can see, some of the elements of this window coincide with the window for creating a new employee in the Configurator. Significant differences in this method of adding:

  • The user can be associated with a specific individual from the corresponding directory;
  • By checking the “Require setting a password at login” checkbox, you can additionally protect the database from unauthorized access (the protection mechanism is as follows: the administrator adding a new element sets a simple password and tells it to the user, when logging into the system for the first time, this password is entered, and when the system starts, a window asking new identification data, so no one other than the user will be able to log in to the system);
  • Specific access permissions for a particular user are issued not by turning his roles on and off, but by adding him to certain access groups, which can be accessed by activating the appropriate link on the form.

The profile that defines the set of rights is stored in the “User Groups” directory; you can change and add a profile in the “User Group Profiles” directory. Thus, the Administrator does not need to control each specific user; access parameters are changed for the entire group as a whole.

In the normal application mode, the “Users” directories can be found in the Operations->Directories menu (Fig. 6)

Rice. 6

In principle, the window for adding a new artist in this mode differs little from those presented above and there is no need to re-describe each of its elements.

In this article we would like to draw attention to the “Additional Information” menu (Fig. 7)

Rice. 7

It contains 4 points:

  1. User Settings;
  2. Contact Information;
  3. Access groups;
  4. Additional rights(not available when the user has a profile).

The first menu item allows you to automate some of the performer’s actions: configure automatic substitution of document details, display of calendars and events, prefixes, etc.

As experience in using the 1C system shows, the “Additional rights” menu is most often required to enable editing of printed forms of documents. This is where the corresponding checkbox is located.

The user created in the program will automatically be added to the list in the Configurator. Feedback new versions of the program do not, which is extremely inconvenient and unusual for administrators working the old fashioned way.

Setting up an email account

The first step is to set up an email account. To do this, go to the section Administration, Further Organizer.


In the form that opens, select setting up a system account(the parameters of which will be substituted into letters when sent by default). The program allows you to create several accounts (so that different users can send letters from different addresses), to do this you need to follow the link Email accounts. We do not consider such a development of events within the scope of this article.



In the form that opens, enter the data mailbox, which we will use as the sender. We put a sign To send mail, indicate Sender name and press Create.


The system notifies us that the account creation has been completed successfully.

Sending letters from 1C

For example, let's send two invoices to the buyer by letter.

To do this, open the list of documents Invoice for payment to the buyer, select two elements (holding the Ctrl key) and click on the email icon.



In the window that opens, you need to select the printed form that needs to be attached to the letter and the format (by default PDF, if necessary, we can select another by clicking on the hyperlink).


After selecting the format, click Choose.


In the form that opens, you must edit the subject, text of the message and enter the address of the recipient(s). There are options to attach additional files to the letter. At the bottom of the box Account We see that the system record that we created earlier has been substituted. When the letter is ready, click Send.

After this, the following message will appear at the bottom of the screen:

And the following letter will be sent to the recipient’s inbox:


Setting up an email account and sending letters in other standard 1C:Enterprise 8.3 configurations is done in exactly the same way.

How to configure sending mail from 1C? How to send letters from 1C? How to set up a 1C email account? How to send invoices for payment from 1C?

If you need to set up email in 1C 8.3, then you can use the instructions presented on this page.

Sending mail from 1C 8.3 may be necessary, for example, when you need to send an invoice for payment to a client. To do this, you need to set up a mail account in 1C. Next, we will tell you how to do this.

Now we will describe point by point what needs to be done to send letters from 1C 8.3. Let's show this using the example of the 1C: Enterprise Accounting 3.0 program, and mail from the mail server will be used mail.ru , because sending letters from this mail service can be easily configured in 1C. Keep in mind that to set up sending emails from others postal services(For example, gmail.com ) may require additional steps that are not described in this article. If you need to set up mail in 1C gmail.ru , then go to .

1 . Open the 1C program. Let's go to Administration(1) — Organizer(2).

2 . In chapter Mail choose Setting up a system account.

3 . A settings window will open as in the picture below.
— Enter the email address that will be used to send letters (1);
— Enter the password for this email account (2);
— Put a tick To send mail. You can also check the box To receive mail (3);
— Select for whom to create an account: either For all users, or Only for me— for the current user (4);
— Specify the sender’s name, which will be visible to recipients. This could be the name of your organization (5);
— We put the switch on Configure connection settings manually so as not to miss important points setup process (6);
- Now press Further (7).

4 . A window for setting up sending letters from 1C will appear.
— Check that the username (1) is filled in correctly;
— Enter the password for your mail account (2);
- In field Server We indicate the following address: smtp.mail.ru (3);
- In field Port Let's indicate the following number: 465 (4);
- Let's put a tick (5);
— Click Further (6).

5 . A window similar to the previous one will appear. Only here you can configure the receipt of letters.
— Check the username (1);
— Let's check the password (2);
- In field Server We indicate the following address: pop.mail.ru (3);
— In the selection field Protocol let's indicate the protocol called POP (4);
- In field Port Let's indicate the following number: 995 (5);
- Let's put a tick Use a secure connection (SSL) (6);
- Press again Further (7).

6 . In the next window you don't have to change anything. Just click Further.

7 . After this, your account settings will be checked for some time. Wait for it to finish.

8 . After the check is completed, the message will appear Account set up successfully. Press the button Go to account.

9 . Let's make sure that the mail is configured correctly.
— Open the menu More (1);
— Click on the menu item Check settings (2);

10 . If everything is configured correctly, a window will appear with the message “Checking account settings completed successfully.” Click OK(1). Click Save and close (2).

So, we have set up an email account in 1C. Before sending anything, let's see how to set up a signature for sent letters, which will be displayed at the end of the letter text.

11 . Let's go to Main (1) — Personal settings (2).

13 . The settings window will open.
— In the “Main account…” selection field, select the account that we just created, in this case it is the “System account” (1);
- You can check the box Send copies of outgoing letters to: and indicate to which addresses copies of the letters you send will be sent.
— In the text field, you can set what the signature for your letters will look like (2);
— After editing, click OK (3).

14 . Click “Record and close” in the personal settings window.

So, the mail setup is complete! Let's try sending someone an invoice for payment...

15 . In the document, select the command button with the image of an envelope.

16 . In the list of printed forms, check the forms that we want to send to the counterparty (1). To choose which format to send the printed form in, you can click on the link Attachment format (2);

17 . Check the boxes for the required format (1). If necessary, check the box Pack into archive (.zip)(2). Click Choose.

18 . Returning to the window for selecting printed forms, we also click Choose.

19 . A message sending window will open.
— In the selection field To whom select the contact person to whom you want to send the letter (1);
- In field Subject the subject of the letter is indicated. You can edit it as you need. (2);
— If necessary, edit the text of the letter (3);
— You can attach additional files to it (4);
- Finally, you can press the button Send (5);

20 . The letter has been sent! The contractor received it!