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

#1
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) {
    $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->load->library('email');
    $this->email->from('[email protected]''Central Georgia Marina');
    $this->email->to($email);
    $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');
    $this->email->send();
    redirect("boatsale/boatsale_print/$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
Reply


Messages In This Thread
Gmail giving warning when receiving email - by phishyman2 - 07-10-2018, 06:09 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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