我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Mail()不设置带有postfix的From头

I am trying to send email with mail() it works but even if I set From: email <name> it is sent with the original email of my server.

Is there anyway to solve this? I have debian with postfix

Use -f mail@mail.com to the last param of mail() and it will work.

近期文章

  • 如何改善网站标题搜索结果
  • PHP函数并在html中调用它
  • 使用preg_replace_callback时出现问题
  • Android本地Db通过PHP将XML转换为mySql。
  • 在第一行[关闭]后停止MySQL查询
  • 验证链接未激活帐户
  • 准备语句查询没有结果
  • 如何在自动加载器上加载Zend 2类
  • 如何在eloquent中扩展get()方法
  • @如何在YII中的accessRules中运行
  • codeigniter:查询处于非条件状态
  • 为stdin提供价值以供在线判断
  • 如何使用子值对多个数组进行排序
  • 无法使用dropzone上传多个文件
  • 按类别和标记列出wordpress帖子
  • 通过php implode函数格式化SQL查询
  • Intro.js不会跳过隐藏的元素
  • 将自定义args添加到Paypal Woocommerce
  • Codeigniter escape_str撤消到纯HTML
  • 从inspect元素隐藏按钮值

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华