0
"to"값이 하드 코드 될 때마다 전자 메일이 전송됩니다. 그러나 문자열 값이 문자열 변수로 바뀌면 전자 메일은 보내지지 않습니다.Mailgun not 변수가 값으로 사용될 때 이메일 전송 PHP
$result = $mgClient->sendMessage($domain, array(
'from' => 'Eemayl Ok <[email protected]>',
'to' => $customerEmail,
'to' => Tools::safeOutput($customerEmail),
'to' => (string)$customerEmail,
'to' => $customer->email,
'to' => Tools::safeOutput($customer->email),
'to' => '[email protected]',
'subject' => 'We Hope You get this Email!',
'text' => '',
'html' => '<html>Contact Us Ok??</a></html>'
));
몇 가지 "to"는 가변 값을 표현하는 변형입니다.
응답 주셔서 감사합니다. 저는 몇 시간 전에 그것을 알아 냈으므로 프로젝트를 마무리하는 데 급급했습니다. (아직도 그것에 종사하고있다) 그러나 서두르지 만, 나는 방금 다른 이메일과 함께 몇 개의 전화를했다 * 숨기고있는 얼굴 * – ihaveitnow