Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2つのIPを備えた1つのネットワークインターフェイスを備えたサーバーがあります。SMTPトランスポートに使用するIPを1つだけ設定するにはどうすればよいですか?私はphpライブラリSwiftmailerを使用しています。前もって感謝します!
これを試して:
$transport->setLocalDomain('[127.0.0.1]');