English 中文(简体)
阅读电子邮件,从档案中发送
原标题:Read email from file and send using PEAR s Mail_Mime library

我在寄出几个问题时,即寄出我们设在加拿大的电子邮件申请中的邮件,特别是我们的邮件服务器接受寄出邮件的比率。 为了努力克服这一特殊问题,并预先防范更普遍的员工和管理当局协调会问题,我试图写一个电子邮件,以便在员工和管理当局协调会的服务器出现错误时提交后发送。

Im目前利用PEAR邮报图书馆发送邮件。 从I ve读到的,可以节省一个使用挽救性方法存档的信息。 我的问题在于,我的发言稿需要读到这一信息,并试图在稍后阶段再次发出。 缺乏对档案进行人工分类和寻找各种负责人的“FROM”、“TO”等,然后从头版中人工重建整个邮件标本,邮件“Mime”图书馆是否有任何功能,使我能够一读全部文件,并自动重建各个部分和头目?

最佳回答
  1. Serialize your constructed mail object
  2. Insert it into some form of queue (database, directory full of files containing 1 message each, beanstalkd)
  3. daemon reads entries from the queue one at a time
  4. Deserialize
  5. Send message
  6. sleep until next allowed send (1 second? 30 seconds? 60 seconds?)
问题回答

暂无回答




相关问题
Angle brackets in php

I want to store angle brackets in a string in PHP because i want to eventually use mail() to send an HTML email out. The following is the code that doesn t seem to work. while(...) { $msg .= "<...

authlogic auto_register feature using my options

I have auto registration working with authlogic using gaizka s version of authlogic_openid which I found on Github since pelle s original addition of the feature seemed to cause issues. http://...

Zend 邮件问题,涉及外国char子+ com子

泽斯德邮局在名称被定为具有外国性质(如“保”)和 com(”)的物品时,就放弃了一种例外(因为邮局(邮局)退回假)。 重新提出以下守则。

How to track an email in Java?

How I can track an email? I m using java on the server side for sending emails. I want to track whether it is delivered , opened, etc... How I can do that ?

Web Link in a mail is not rendering as link in yahoo

string from = "abc@gmail.com"; string to = "xyz@gmail.com,xyz@yahoo.co.in"; string password="abcxyz"; MailMessage mail = new System.Net.Mail.MailMessage(); mail.To.Add(to); mail.From = new ...

SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

How to create an email mailing list

Im creating a coming soon page for a website im developing, and im adding an option for the user to enter their email address so we can email them when the site is up. How do I do this?

CCNet email does not include MSBuild results

We re using CCNet 1.4.4.83 but when an MSBuild task fails, we don t get the MSBuild results (i.e. missing file or whatever reason the compile failed) in the email notification. I do see the build ...

热门标签