Error in mail content using SMTP in codeigniter
Actually, my mail is sent with HTML
tags and it is showing the HTML
tags which is not correct.
Gmail prevent access of your account. You need some changes on your gmail :-
Step : 1
Some apps and devices use less secure sign-in technology, which makes your account more vulnerable. You can turn off access for these apps, which we recommend, or turn on access if you want to use them despite the risks.
Turn on less secure app
Step : 2
Enable IMAP Status
Enable POP Status
Enable IMAP and POP Status