The main thing is to send a copy to the specified e-mail. Working with the fields “To” (“To”), “Cc” (“CC”), “Bcc” (“Bcc”). Send BCC
Good time! Today we will talk about SMS backup by sending all messages from your smartphone to email. This may be required both simply for the purpose of saving correspondence, and for further processing of messages, for example, searching messages for the necessary information (contacts, names, prices, etc.) by third-party applications, which in turn work with E-Mail. Let's look at an option for such copying using a smartphone running Android.
Create a mailbox
To send and save all messages by E-Mail, you first need to register a mailbox; mail from yandex.ru is perfect for this. You can also use your existing mailbox, but I recommend registering a new one. Firstly, over time, a large number of SMS messages will accumulate in it, which can interfere with working with regular letters, and secondly, if you connect your mailbox to a third-party service for analytics, do not indicate the login and password for the main E-Mail in it. .
Install the SMS Backup + application on your Android smartphone
To send all SMS messages to your mailbox, you will need to install and configure the special SMS Backup + application, which can be downloaded from play.goole.com or apk-dl.com (an alternative for smartphones that do not use Google Play) or.
The application has been tested on Android: 3.xx, 4.xx, 5.xx, 6.xx; Support for version 2.xx is declared.
Setting up SMS Backup +
- Launch the application;
- After launching the application, in the menu that opens, select the item: Advanced settings;
- Next, go to Backup settings;
- Check the boxes for Backup SMS and Email subject prefix, uncheck the boxes for Backup MMS, Backup Call log (we don’t need MMS and call history, although you can backup them too);
- Return to the previous menu and go to the IMAP Server settings section;
- Select the Authentication menu item,
set the parameter value to Plain text; - Select the Server address menu item, enter the value: imap.yandex.ru:993
- Select the Security menu item and enter the value: SSL
- Select the Login (You IMAP account) menu item, specify your login, then select the Password (You IMAP account password) menu item, specify the password for yandex.ru mail;
- In the main menu, check the box for Auto backup;
- Next, go to Auto backup settings, select the Regular schedule menu item and set the time interval at which SMS will be sent to the mailbox account we specified (for example, every 2 hours).
The SMS Backup + application allows you not only to make backup copies to E-Mail, but also to restore messages from it. The corresponding recovery settings can be found in the Advanced settings -> Restore settings section.
After sending messages by E-Mail, they will all be placed in a folder called: SMS.
Analyzing SMS sent to Email
After receiving a list of SMS messages to your email address, you can use special software to analyze the data they contain. For example, you can track SMS from the bank with messages about cash receipts and debits, based on which you can keep financial records automatically. I implemented a similar solution for a “joint shopping site”, when all SMS messages from the Bank received by the JV Organizers are collected in one place, analyzed and based on them, the system displays data in the control panel about which user who placed the order made the payment.
“It’s like the fairy tale about the boy who constantly cried wolf.” If you abuse the “urgent” tag, people will stop answering your emails. And a truly important letter may go unnoticed because of this.
Familiarity
Yes, the tone of your letter can reflect your relationship with the recipient. However, you may be considered unprofessional if you allow yourself to be too informal in your correspondence. Avoid excessive use of exclamation marks, emoticons, colored text, unusual fonts, and excessive brevity of messages.
Be especially careful if you work with people of different ages, with language barriers, or with those who prefer a more traditional form of communication.
Too dry tone
At the same time, being a robot is also not worth it. It's okay if you show your character or enthusiasm in your letters - within reasonable limits.
Reply All
Work email is not for entertainment, but for communication. So if you're replying to an email sent to a group of people, think twice before clicking "reply all." To do this, your answer must be extremely important to everyone.
Sending copies without permission
Sharing other people's information with others is, to say the least, impermissible. It doesn't matter whether you send a client a copy of a letter from your boss who responded to him in any way, or include one employee in personal correspondence with another. Few people might like it if you send a copy of a letter without their consent.
Send BCC
Sending BCC breeds mistrust. If you want to send a letter to someone, and this person, in theory, should not participate in work correspondence, copy the text and send it as a separate letter.
Unspecified email subject
Subjects like “It’s Me,” “Hello,” or “FYI” (FYI) simply don’t grab attention. The person will not understand what is being said and will not want to respond to the letter. Work-related letters should be clear and concise. The recipient is more likely to open the email if he understands what you want from him.
Sending too many personal emails
You can sometimes use jokes, touching stories and motivational quotes to cheer someone up. But people get tired of this quickly, no matter what your intentions were in writing them. If you send too many personal emails, they will simply be set to auto-deletion.
Be rude
You shouldn’t send letters full of poison, because people will remember it when the opportunity arises. Instead, write a letter and leave it in “Drafts” for two days. Then you can come back to it and edit it, removing the barbs. This way you will achieve what you want faster. In addition, you will be treated as a very patient and thoughtful professional.
Stupid email address
If you are sending an email to a client, employee, or potential employer, do not use email with an “unprofessional” title. If there is anything in the email title that purports to be witty or contains sexual or vulgar connotations (something like ), you run the risk of making the other person feel negative about you from the very beginning. Create a separate email for purely professional needs.
Typos
The fact that the email was sent from an iPhone is not an excuse for sending sloppy emails. If you make more than one mistake in your letter, it may be considered unprofessional. If this is a very important letter, and you are in a hurry to get somewhere, then try to at least check it before sending it.
Sending emails early in the morning
Most people, when receiving letters, look at the time they were sent. If the letter is sent too early, you may be viewed negatively. At the very least, you will be considered a workaholic with no personal life. It's worse if you are considered intrusive. If inspiration awakens you at night, write a letter, save it in “Drafts” and send it during working hours.
Too many punctuation marks
People sometimes get too carried away and use a lot of exclamation points. The result may seem immature or too emotional to some. Don't abuse it!!!
Non-professional fonts
The Purple Comic Sans font has its own scope. In business, it is better to use classic fonts, colors and sizes. Your letters should be easy to read.
Typically a font size of 10 or 12 is used. Easy-to-read fonts like Arial, Calibri or Times New Roman are best for the job. Preferable color is black.
Letter too long
Most people spend seconds, not minutes, reading emails. Many people simply skim over the text with their eyes, so write your letters based on this. People find it difficult to read large paragraphs - break the text into smaller blocks. Highlights and bulleted lists are much easier to read. You can also highlight the main points in bold or italics, but do not do this often.
Tamara Vorotyntseva – development director of the training company “BUSINESS PARTNER” (Moscow). Practicing business coach, author of the book “Building a Personnel Training System” and publications in business publications in Russia, Kazakhstan and Ukraine. Creator of the Internet newsletter: “E-mail correspondence in business” on the subscribe.ru server! The book is a practical guide for business people who actively correspond with clients and partners. It presents tools that will help make electronic communication effective, optimal in time and results, and most compliant with the norms and rules accepted in the modern business community. The author gives practical advice, illustrates his observations with real-life cases, and provides reasoned conclusions. The text of the book is rich in recognizable examples of real business correspondence. The author shares his observations, techniques, and “tricks” that can significantly affect the effectiveness and efficiency of a business email. If you are a business person and it is important for you to write promptly, concisely, competently, in accordance with the rules of good business manners, this book will become your reliable assistant.
Book:
When working with the fields “To” (“To”), “Cc” (“CC”), “Bcc” (“Bcc”), remember that this is an important part of the email that affects the further actions of the participants in the correspondence.
“To whom” (“That”). This field contains the address of the recipient to whom the letter and the information contained in it are directly addressed. The author of the letter is waiting for a response from the main recipient. If two recipients are placed in this field, then the author of the letter is waiting for a response from each or some of them (keep this in mind if your name is on the list of recipients). At the same time (if you are the sender), keep in mind that it is not very advisable to include more than one addressee in the “To” (“To”) field. A letter sent to several recipients may not receive a single response, since each will think that the other will answer.
If the letter is addressed to you, but contains copies of other recipients, be sure to use the “Reply ALL” button when replying! This will allow you to maintain the circle of recipients that the initiator of the correspondence designated.
“Copy” (“Cs”). IN In this field, place the addresses of recipients who, in your opinion, should be aware of correspondence on this issue. These recipients receive information only “for your information.” The CC recipient usually does not have to respond to the letter, but can do so if necessary.
NOTE. IT IS IMPORTANT!
If your name is in the “Cc” (“CC”) field, then when entering into correspondence, remember that there are situations when it is extremely important to be polite. Use the phrases: “Let me join the discussion,” or “Let me join your dialogue,” or “Let me express my opinion.”
"Blind carbon copy" ("Bcc"). This field is prohibited for use in some companies, as it is a tool that contradicts ethical standards of communication. The purpose of this field is to invite the recipient to become a “secret witness.”
If your business practice is to use this field in your work, consider the following. The BCC recipient remains invisible to the primary recipient and the BCC recipients. Sometimes it is useful for the sender and the “secret recipient” to have a preliminary agreement (or subsequent awareness) about the reason and purpose of this method of information.
NOTE. IT IS IMPORTANT!
The “hidden” recipient should absolutely not enter into correspondence from this field.
One of the most popular functions on the site is the application or order form, the data from which is sent by email to the site owner. As a rule, such forms are simple and consist of two or three fields for data entry. How to create such an order form? This requires the use of HTML markup language and PHP programming language.
The HTML markup language itself is simple; you just need to figure out how and where to put certain tags. With the PHP programming language, things are a little more complicated.
For a programmer, creating such a form is not difficult, but for an HTML layout designer, some actions may seem difficult.
Create a data submission form in html
The first line will be as follows
Now let's put everything together.
Now let's make the fields in the form mandatory. We have the following code:
Create a file that accepts data from the HTML form
This will be a file called send.php
In the file, at the first stage, you need to accept data from the post array. To do this, we create two variables:
$fio = $_POST["fio"];
$email = $_POST["email"];
Variable names in PHP are preceded by a $ sign, and a semicolon is placed at the end of each line. $_POST is an array into which data from the form is sent. In the html form, the sending method is specified as method="post". So, two variables from the html form are accepted. To protect your site, you need to pass these variables through several filters - php functions.
The first function will convert all the characters that the user will try to add to the form:
In this case, new variables are not created in php, but existing ones are used. What the filter will do is transform the character "<" в "<". Также он поступить с другими символами, встречающимися в html коде.
The second function decodes the URL if the user tries to add it to the form.
$fio = urldecode($fio);
$email = urldecode($email);
With the third function we will remove spaces from the beginning and end of the line, if any:
$fio = trim($fio);
$email = trim($email);
There are other functions that allow you to filter php variables. Their use depends on how concerned you are that an attacker will try to add program code to this html email submission form.
Validation of data transferred from HTML form to PHP file
In order to check whether this code works and whether data is being transferred, you can simply display it on the screen using the echo function:
echo $fio;
echo "
";
echo $email;
The second line here is needed to separate the output of php variables into different lines.
Sending received data from an HTML form to email using PHP
To send data by email, you need to use the mail function in PHP.
mail("to which address to send", "subject of the letter", "Message (body of the letter)","From: from which email the letter is sent \r\n");
For example, you need to send data to the email of the site owner or manager [email protected].
The subject of the letter should be clear, and the message of the letter should contain what the user specified in the HTML form.
mail(" [email protected]", "Application from the site", "Full name:".$fio.". E-mail: ".$email ,"From: [email protected]\r\n");
It is necessary to add a condition that will check whether the form was sent using PHP to the specified email address.
if (mail(" [email protected]", "Order from the site", "Full name:".$fio.". E-mail: ".$email ,"From: [email protected]\r\n"))
{
echo "message sent successfully";
) else (
}
Thus, the program code of the send.php file, which will send the HTML form data to email, will look like this:
$fio = $_POST["fio"];
$email = $_POST["email"];
$fio = htmlspecialchars($fio);
$email = htmlspecialchars($email);
$fio = urldecode($fio);
$email = urldecode($email);
$fio = trim($fio);
$email = trim($email);
//echo $fio;
//echo "
";
//echo $email;
if (mail(" [email protected]", "Application from the site", "Full name:".$fio.". E-mail: ".$email ,"From: [email protected]\r\n"))
( echo "message sent successfully";
) else (
echo "errors occurred while sending the message";
}?>
Three lines to check if the data is being transferred to the file are commented out. If necessary, they can be removed, since they were needed only for debugging.
We place the HTML and PHP code for submitting the form in one file
In the comments to this article, many people ask the question of how to make sure that both the HTML form and the PHP code for sending data to email are in one file, and not two.
To implement this work, you need to place the HTML code of the form in the send.php file and add a condition that will check for the presence of variables in the POST array (this array is sent from the form). That is, if the variables in the array do not exist, then you need to show the user the form. Otherwise, you need to receive data from the array and send it to the recipient.
Let's see how to change the PHP code in the send.php file:
//check if variables exist in the POST array
if(!isset($_POST["fio"]) and !isset($_POST["email"]))(
?> ) else (
//show the form
$fio = $_POST["fio"];
$email = $_POST["email"];
$fio = htmlspecialchars($fio);
$email = htmlspecialchars($email);
$fio = urldecode($fio);
$email = urldecode($email);
$fio = trim($fio);
$email = trim($email);
if (mail(" [email protected]", "Application from the site", "Full name:".$fio.". E-mail: ".$email ,"From: [email protected]\r\n"))(
echo "Message sent successfully";
) else (
echo "Errors occurred while sending the message";
}
}
?>
We check the existence of a variable in the POST array with the isset() PHP function. An exclamation mark before this function in a condition means negation. That is, if the variable does not exist, then we need to show our form. If I had not put an exclamation point, the condition would literally mean “if exists, then show the form.” And this is wrong in our case. Naturally, you can rename it to index.php. If you rename the file, do not forget to rename the file name in the line