Gmail giving warning when receiving email |
This thread contains two problems.
Problem #1 I have a page that sends an email. Problem is when I receive the email to a gmail account is get the following error: Be careful with this message Gmail could not verify that it actually came from [email protected]. Avoid clicking links, downloading attachments, or replying with personal information. Obviously this is not going to work as the email contains a link to the customers invoice. Here is the code below. Any ideas how I can avoid this. PHP Code: public function boatsale_email($id) { Problem #2 The time it takes between the $this->email->send() and the redirect is 10-15 seconds. Seems kinda long. Any way to speed this up? Thanks in advance for your help
Because the way emails work, the "From" field is free-form text inside the email, so you could say it's from Bill Gates and [email protected]. Luckily, each server that passes the email on adds it's own fingerprint in email headers, and it's common practice to check that the first server email was sent from actually matches the email address domain.
The warning in email suggests that your email SMTP config uses different email service/login than [email protected]. As for it being slow, it depends on what server/service you are using to send that email, but some services can get quite slow. There's some other things going on in that function, so you could check what causes the slow down: PHP Code: public function boatsale_email($id) |
Welcome Guest, Not a member yet? Register Sign In |