douhe8981 2011-10-25 14:26
浏览 21
已采纳

电子邮件管道系统设置

Is there any tutorials out on the web that would show how to setup a program that would use piping, PHP and MySQL to setup email where replies would be sent into the database, or something similar to this?

Thank you in advance for any direction in finding out more about this.

  • 写回答

2条回答 默认 最新

  • dtoqemais553654797 2011-10-25 14:37
    关注

    PHP and MySQL are both mutually exclusive, and even more so from an email server.

    To use PHP to receive email and insert it to a MySQL Database, you would have to write PHP code that is going to connect to a POP3/IMAP box and receive email directly and read new emails, subsequently inserting them into the database for handling them as you wish.

    Luckily for you there are a whole host of mail related extensions for PHP. Note that you will specifically want to look at the set of imap_* methods (despite the name, they also work for POP3, etc).

    I know, you could write your own SMTP server in PHP but who on earth wants to do that?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 企业资源规划ERP沙盘模拟
  • ¥15 前端echarts坐标轴问题
  • ¥15 CMFCPropertyPage
  • ¥15 ad5933的I2C
  • ¥15 请问RTX4060的笔记本电脑可以训练yolov5模型吗?
  • ¥15 数学建模求思路及代码
  • ¥50 silvaco GaN HEMT有栅极场板的击穿电压仿真问题
  • ¥15 谁会P4语言啊,我想请教一下
  • ¥15 这个怎么改成直流激励源给加热电阻提供5a电流呀
  • ¥50 求解vmware的网络模式问题 别拿AI回答