Diabetes is a chronic and progressive metabolic disease worldwide that is considered a health problem especially in developing countries (
1). The prevalence of diabetes is increasing due to cultural and social changes around the world. Thus, diabetes is becoming a common problem that increases the demand for health services (
2). The International Diabetes Federation (IDF) considers the disease a global emergency as one person dies of diabetes every ten seconds (
3). According to recent statistics from the World Health Organization (WHO), diabetes has affected approximately 347 million people worldwide and this figure is projected to increase to 592 million by 2035. Besides, type 2 diabetes in Iran will affect more than 14% of the adult population. It is also predicted that by 2030, more than 6 million Iranians will be affected by the disease (
4-
6). Complications of diabetes include cardiovascular disease, kidney disease, retinopathy, neuropathy, and amputation. These complications impose a heavy burden on the individual and family and reduce the quality of life and lead to the risk of premature death in patients (
7). Type 2 diabetes is difficult to treat and causes the patient to suffer and increase treatment costs (
8). Diabetes treatment includes blood sugar lowering methods, diet, exercise, constant care and monitoring, monitoring blood glucose levels, engaging in health behaviors, prescribing insulin, and contacting a health care provider. Even small improvements in blood sugar control can reduce long-term complications (
9,
10). The cornerstone of preventing the complications of the disease and the greater effectiveness of drugs is to observe the use of diabetes drugs regularly; otherwise, it leads to poor blood sugar control, worsening of the patient's condition and other diseases, increased health care, increased costs, and higher mortality rates. This is why patient medication adherence has been considered an important factor for more effective outcomes (
11). One of the most important goals of self-care in controlling diabetes is medication adherence (
12). Adherence means that the patient follows a certain treatment method correctly. Adherence is a medical term because it represents the patient's active involvement and a therapeutic alliance between the patient and the physician. Long-term medication adherence in developed countries is approximately 50% one year after the start of treatment and is worse in low socioeconomic groups and developing countries. Non-adherence reduces the effectiveness of treatment, wastes health care resources, and leads to further counseling, referral, prescription, and hospitalization.
According to the model of the World Health Organization, medication non-compliance is a multidimensional phenomenon involving forgetfulness, carelessness, misunderstanding of treatment instructions, and lack of patient support outside the hospital (
13). Aminde et al. found that the factors leading to non-compliance were forgetfulness (55.6%), financial problems (38.2%), and disappearance of symptoms (14.2%) (
14). Different methods of follow-up care have been in-person referrals to care centers to attend lectures, questions, and answers, group discussions, and receive training booklets or home visits by health care providers. Although these measures are effective, they have some limitations such as the need for large manpower, time, and cost (
15). Most of the problems related to the quality of care and patient safety issues are due to human negligence rather than lack of medical knowledge. Thus, these problems can be prevented with the help of information technology (
16). Health information technology has evolved as one of the most important facilitators to increase health care knowledge among consumers (
17). Mobile phones and text messaging are now part of people's daily lives and are powerful tools for improving health, warning about the risk of disease, and help prevent disease (
18). The results of several studies have shown the effective role of self-care and medication adherence education to type 2 diabetes patients and their families via mobile phones and SMS (
19-
24). Nurses are among the most important members of the healthcare team. They can play an effective and important role in the patient's medication adherence by using telephone follow-up messages (
25). Researchers have suggested the use of cell phone texting as a training and follow-up method to improve medication adherence and control complications in chronic diseases such as acute coronary syndrome, hyperlipidemia, tuberculosis anemia, and asthma, but more studies are needed to test this claim (
13,
17,
26). The automated messaging system helps select message recipients for personalization, production, and tracking to send regular and frequent messages (
27). Khonsari et al., confirmed the positive effect of using a reminder system using an automated short message service on medication adherence following acute coronary syndrome (
13). Studies have also reported an increase in medication adherence through different texting techniques in AIDS, asthma, type 1 diabetes patients (
28-
30). The SMS system is a way to guide patients and encourage them to change their lifestyles. However, studies have shown this technique has some limitations. For instance, it is time-consuming and the operator may forget to send text messages. Thus, the use of an automated system can solve these problems (
31-
33).