0

I'm using Gmail smtp in Cakephp to send emails.
And I wanna make the sender as what i defined.
I've tried
$email->from(['test@gmail.com' => '通知用メールサービス'])
and
$email->sender('app@example.com', '通知用メールサービス')
but none of it worked.
So is it impossible to change or i did something wrong?
Thank you

sorry for my poor English.

RLC_TPJM
  • 25
  • 4
  • 1
    Please check **https://stackoverflow.com/questions/1332510/how-to-change-from-address-when-using-gmail-smtp-server**, this _should_ not be related to CakePHP. – ndm Jan 22 '21 at 14:21
  • Got it, new to this feature, thanks alot – RLC_TPJM Jan 24 '21 at 07:03

0 Answers0