电子邮件自动回复器 - Objective-c

发布于 2024-09-15 14:36:12 字数 918 浏览 7 评论 0原文

好的,我想这样做:

如果电子邮件进入 [email protected],它查看电子邮件的字段。例如:

Name:elijah wood
Address:77 apple avenue 

并将该数据输入地址簿联系人中。根据字段,某人可能发送了“报价”或“宣传册请求”。像这样:

如果电子邮件中存在此字段:

Model:(model name)

则该电子邮件是“报价”。否则,这是一个小册子请求。如果确定收到的电子邮件是报价,则会向该人发回一封电子邮件。如果确定收到的电子邮件是小册子请求,则会向该人发回另一封电子邮件。

然后,它将电子邮件分类到文件夹中:“pricequotes”、“brochures”和“errors”。错误文件夹中的字段没有值。例如:

Name:(blank)

此外,它还会计算报价、宣传册请求和错误的数量,并将它们放入 .txt 文件中,然后通过电子邮件将其发送给主持人(如下所示)。

  1. 在一天结束时(晚上 11:59),它会导出在地址簿中创建的所有联系人,并将它们导出到 .VCF。

  2. 然后将 .VCF 文件发送到主持人的电子邮件。

  3. 删除地址簿中已有的卡片以重新开始。

现在,我希望这一切都在一个 Objective-C mac 应用程序中。我需要什么框架才能完成这项工作?有人能指出我正确的方向吗?

谢谢, 以利亚

Ok I want to do this:

If an email comes in to [email protected], it looks at the email's fields. For example:

Name:elijah wood
Address:77 apple avenue 

And enters that data into an address book contact. Depending on the fields someone might have sent in a "price quote" or a "brochure request". Like this:

If this field is present in the email:

Model:(model name)

then the email is a "price quote". Otherwise, it's a brochure request. If it determined that the email coming in was a price quote, it will email the person back with one email. If it determined that the email coming in was a brochure request, it will email the person back with another email.

It will then sort the emails into folders: "pricequotes", "brochures", and "errors". The errors folder is where a field doesn't have a value. For example:

Name:(blank)

Also, it will count the number of price quotes, brochure requests, and errors and put's them in a .txt file and sends that in the email to the moderator (look below).

  1. At the end of the day (11:59 PM) it exports all the contacts it has created in address book, and exports them to .VCF.

  2. Then sends the .VCF file to the moderator's email.

  3. deletes the cards already in the address book to start over.

Now, I want this to all be in ONE objective-c mac application. What frameworks would I need to make this work? Can someone point me in the right direction?

Thanks,
Elijah

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文