좋아요, 그래서 Sendgrid를 사용하여 카테고리를 설정하려고합니다 & Codeigniter. 수동으로 처리해야하므로 STMP API를 사용할 수 없지만 어떻게해야합니까?Sendgrid Codeigniter 카테고리를 설정
이, 내 현재 코드
$body = $this->load->view('mail_templates/users/SG_register_confirmation',$data, true);
$this->email->from($this->config->item('contact_email'), "Welcome!");
$this->email->to($this->config->item('to'));
$this->email->cc($this->config->item('cc'));
$this->email->subject($this->config->item('test_subject'));
$this->email->set_mailtype("html");
$this->email->message($body);
$this->email->send();
이제 이메일이 완벽하게 작동하지만, 나는 그것의 범주 옛날 방식을 설정하는 방법을 찾을 수가 어차피 ... this page에서
그렇지 않은 경우 Sendgrid를 사용하여 카테고리를 어떻게 설정 하시겠습니까? –
@NeilPatrao 여기에서 일반적으로 수행되는 작업을 볼 수 있습니다. https://sendgrid.com/docs/Integrate/Code_Examples/v2_Mail/php.html –
글쎄, 긴 페이지이므로 질문에 관련 코드 부분을 포함시켜야합니다. 귀하의 질문에 대한 답변을 다른 사람들에게 도움이 될 수 있습니다. –