Purpose: In the present research the relationship between the dimensions of mental image, brand awareness and brand recognition in attracting customers, has been investigated and analyzed with marketing of electronic services (the case study of Iran Postbank) especially taken into account. E-marketing has greatly facilitated the banking operation.Method: This research is applied in terms of purpose and descriptive-survey and correlational as regards the nature of data collection. The statistical population of the research includes managers and senior supervisors of Iran Postbank. The sample size of the research is 168 people, and simple sampling method was used, and 117 people were selected for the research. A questionnaire was used to collect data. The validity of the questionnaire was confirmed through content validity and its reliability using Cronbach's alpha coefficient. To analyze the data, structural equation modeling was used with the help of PLS software.Findings: The results of this research showed that the variables of mental image, brand awareness and brand recognition have a significant and positive impact on the marketing of electronic services, also the marketing of services has a positive and significant impact on customer attraction and the marketing of electronic banking services will increase customer attraction.Conclusion: Given the increasing competition among Iranian banks and the challenge of attracting new customers and keeping current customers, as discussed in this research, brand awareness is one of the most important factors affecting customer attraction in the bank.