Mail server
Mail Server (e-mail server) is the software designed to transmit and exchange electronic messages. E-mail servers work under standard SMTP protocol (Simple Mail Transfer Protocol) directly on the server of the recipient. System Mail Client accepts mail using POP3 or IMAP protocols.
SMTP became widely used in the 80's and replaced the UUCP (Unix-to-Unix CoPy) protocol, which was used to transfer e-mail before TCP/IP (Transmission Control Protocol/Internet Protocol) began to be spread widely. Speaking about SMTP, now most often assume scalable extension of this protocol - ESMTP (Extended SMTP).
Contents
Mail Setup in Websky
Most important actions related to orders (booking, cancellation, payment, statement) are accompanied by e-mail messages. In case of communication problem with the mail server, you will be re-sent 3 mail notifications at 15-second intervals.
- E-mail address for copies of notifications - copies of all messages sent to the user will be sent to this address. You can enter, for example, the mailing address of the booking department or the curator's address here. It is supported to enter several mail addresses separated by a semicolon.
- Additional text - the text entered here will be added to the end of the corresponding mail message. In order to send the mail messages successfully, you should set up the data for connection to the mail server on the connection details setup page. Attention! At present, additional texts are not used in the system.
- Timelimit for unconfirmed emails (specify in minutes) - the value specified in this field will determine the validity period of the link that comes to the newly registered user to confirm registration. After the expiration of this period, if the registration was not confirmed, the user may reuse the same login on the site. If a user clicks on the link after the time limit, he will not be able to login to the site and will receive a message: "Login failed". After the expiration of this period, if the registration was not confirmed, [[the user] may reuse the same login on the site. If a user clicks on the link after the time limit - he will not be able to login to the site and will receive a message: "Login failed". By default, this function is disabled and an unactivated user can stay in the system indefinitely. Attention! For the setting to work correctly you must first have Cron set up.
- Deadline for adding obligatory additional data to the booking in hours (for notifications, specify for agency) - this setting allows you to set the time of sending the notification of the same name. More details can be found on the Electronic letter templates page.
- Time until expiration of which to warn the user about time limit (specify in minutes for the agency) - you may specify the range to which a warning will be sent or one fixed value in the "before" field.
- Send e-mail about order changes to customer - this setting has two values: "Yes" or "No", which corresponds to sending or not sending e-mail about order changes to the customer. Information about changes in this notification can be found in Electronic letter templates. This setting also applies to internal messages, but only affects the modification notification. If this setting is enabled, notification will not be sent only if both the e-mail template and the system message template are not specified.
- Send e-mail to client only in case of specified changes - Allows you to select the changes information about which should be sent to client. If specific changes are not selected, notification will be sent about any changes.
- Mail address for notifications of order problems - in this option, you can specify e-mail addresses to which information about all problematic orders will be sent.
- Send problem notifications to subagent - when enabled, the subagent will receive notifications about problems in the order to the address specified in the "Email address" setting in the company profile.
- E-mail address for notifications of problems with payment - this field indicates the e-mail address to send notifications in case of problems with payment for issued orders (for example, payment has not been confirmed yet and the order has already been issued or payment has been mayde for a cancelled order). Notification text is fixed and is not available for change.
Example of Notification:
Message subject: Problem with payment Message text: 291205. Orders have been ticketed, but payment has not been confirmed.
Notification can be sent once within 60 minutes after discharge.
- E-mail address for payment notifications without ticketing - notification is sent to the specified e-mail address in case the order was paid but not ticketed (if the time of payment is more than 10 minutes ago), as well as if there is a paid but not ticketed additional service in the ticketed order (for example, insurance or Aeroexpress).
Example of Notification:
Message subject: Additional service not confirmed Text message: Attention! Alpha insurance for order 515087 is not confirmed. Contact the manager of the agency.
Mail server connection requisites in Websky
To configure the sending of notifications and documents from the system, you should specify the following parameters:
- SMTP login - e-mail address from which the mail will be sent.
- SMTP server - for example
smtp.yandex.ru
,smtp.rambler.ru
,., <syntaxhighlight lang="text" enclose="none" style="font-size: 1. 2em; padding: 0 3px; background: #F0F0F0; border: 1px dashed #2F6FAB; ">smtp.mail.ru
- SMTP password is a password from a mailbox used for mailing.
- Sender's address - some mail servers support replacing the field
<From>
when sending it to the address specified by the user (using this field is not supported by mail.ru). In case the mail server does not support this option, the field should be left blank. - Sender's name - change the name in the field
<From>
. - Use TLS - some mail services require a TLS cryptographic protocol that provides secure data transfer.
To check the work of the entered details, you can send a test letter to the agency. If there are errors during sending, the system will display the message, after which it is necessary to check the correctness of the entered information and try again.
Script to send a test letter: "domains/tests/system/smtp_mail.php?email=your@email".
Possible errors when sending mail
Error: e-mail not saved - it is required to specify what we are sending from the host sys.nemo-ibe.com
.
535 5.7.0 Authentication credentials invalid - problems on the mail server side. [1]. quote: smtpd_tls_auth_only = yes means it will only offer auth if you connect vial TLS (which you aren't doing when you telnet) so it is correct to not offer it. The mail server administrator has to deal with it.
Possible difficulties while working with mail
- Booking notifications (cancellations, etc.) are not received to the e-mail address specified in the settings of the agency. Possible reasons:
- Incorrect connection requisites specified in the "Administration" section;
- Absence of letter templates;
- Your mailbox settings - carefully check your mail settings for anti-spam filters, support of certain symbols or formats;
- Absence of an e-mail address in the agency settings or its profile.
If all the above reasons have been checked and corrected (if necessary), but the mailing is not working properly, please contact technical support.
- Duplicate notifications to the mail.
If your system's messages are duplicated to your mail, check the E-mail address for copies of notifications option, in the "Administration" → "Mail Setup" section, the mail should come to the address specified in this option. To disable duplicate messages, simply delete the e-mail address from the field.