Outlook VBA宏将应用于具有以下规则的电子邮件邮箱。 [英] Outlook VBA macro to be applied to an email mailbox with the following rules.

查看:217
本文介绍了Outlook VBA宏将应用于具有以下规则的电子邮件邮箱。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有人写这个宏来应用于电子邮箱并检查以下要求。



要求:

1.电子邮件必须有字符串JobSeeking作为主题行

2.如果电子邮件的字符串为JobSeeking,那么电子邮件必须有gmail.com,yahoo.com在CC领域等。

3.如果CC字段为空,邮箱将拒绝并向原始发件人发送一封电子邮件,说明CC字段不能为空。



是否有一个可行的解决方案,在一个宏中包含所有上述要求?

I am looking for someone to write this macro to be applied to an email mailbox and checks for the following requirements.

Requirement:
1. Email must have the string say "JobSeeking" as the Subject line
2. IF the email has string the string "JobSeeking", THEN email must have an gmail.com,yahoo.com, etc. in the CC field.
3. If the CC field is blank, the mailbox will reject and send an email back to the original sender saying that CC field cannot be empty.

Is there a feasible solution with all of the above requirements in a single macro?

推荐答案

您正在寻找错误的地方。请阅读代码项目快速解答常见问题解答 [ ^ ]。
You are looking in the wrong place. Please read Code Project Quick Answers FAQ[^].


这篇关于Outlook VBA宏将应用于具有以下规则的电子邮件邮箱。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆