• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gmail giving warning when receiving email

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)
date('H:i:s'), " Prep email\n";
$this->load->model'Customers_model' ); //loads model
$data $this->Boatsale_model->get_boatsale_code($id);
$data2 $this->Customers_model->get_cust_info_edit_bs$id );
$bs_code $data->bs_code;
$email $data2->email;
$this->email->from('[email protected]''Central Georgia Marina');
$this->email->reply_to('[email protected]''Central Georgia Marina');
$this->email->set_alt_message('To view the message, please use an HTML compatible email viewer!');
$this->email->subject('Your Central Georgia Boat Sale Invoice');
$this->email->message('Please click ' base_url(). 'boatsale/boatsale_inv/' $bs_code ' to view and print your recent invoice');
date('H:i:s'), " Send email\n";
date('H:i:s'), " Email sent\n";
// redirect("boatsale/boatsale_print/$id"); <-- comment out, redirect would get rid of the debug output


Messages In This Thread
RE: Gmail giving warning when receiving email - by Pertti - 07-10-2018, 11:47 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.