要發送電子郵件給我的提供商,我應該在電子郵件地址前插入-f標誌。也就是說,如果我使用這個:添加一個標誌發送電子郵件 - cakephp
App::uses('CakeEmail', 'Network/Email');
$email = new CakeEmail();
$email->from('[email protected]_domain.com');
$email->to('[email protected]_domain.com');
$email->subject('Subject');
$email->emailFormat('text');
$email->send('My message');
我沒有收到任何東西。 我應該添加:「-f [email protected]_domain.com」 我應該在哪裏添加此標誌?
什麼是'-f'標誌?它有什麼作用?它意味着什麼?電子郵件客戶端? – Latheesan
我不知道。該標誌是供應商要求的。 – Sandro
@LatheesanKanes這可能是一個sendmail標誌。 http://stackoverflow.com/questions/8306576/php-mail-what-does-f-do – ndm