outlook gmail_如何在Outlook和Gmail之间自动同步联系人

outlook gmail

outlook gmail

Telephone Note Book

Outlook and Gmail have separate address books. They don’t sync, which means that if you change your contacts in one or the other, then you have one address book that remains unchanged. Here’s how to keep your address books synced with free, open-source software.

Outlook和Gmail具有单独的通讯簿。 它们不同步,这意味着如果您更改一个或另一个联系人,则您的一个通讯录保持不变。 这是使通讯录与免费的开源软件保持同步的方法。

It’s really simple to export and import your contacts, either from Gmail to Outlook, or vice-versa. The problem is, it’s a one-time thing. If you make a change to your Outlook contacts, if your friend changes their e-mail address or phone number, or you add or remove a contact, then you have to change it in your Gmail. And, if you make changes in Gmail, then they won’t be reflected in Outlook.

从Gmail到Outlook导出或导入联系人,反之亦然,这非常简单 。 问题是,这是一次性的事情。 如果您更改了Outlook联系人,或者您的朋友更改了他们的电子邮件地址或电话号码,或者添加或删除了一个联系人,则必须在Gmail中进行更改。 而且,如果您在Gmail中进行更改,则这些更改将不会反映在Outlook中。

You see the problem? It’s not one without a solution however, with GO Contact Sync Mod, you can keep your Outlook and Gmail contacts in check. If you make a change to one then you can use GO Contact Sync Mod to update the other, quickly, conveniently, and almost effortlessly.

你看到问题了吗? 但是,使用GO Contact Sync Mod并非没有解决方案,您可以检查Outlook和Gmail联系人。 如果对其中一个进行了更改,则可以使用GO Contact Sync Mod来快速,方便且几乎毫不费力地更新另一个。

我们是否提到它是开源的? (Did We Mention it’s Open Source?)

GO Contact Sync Mod doesn’t try any funny stuff. It’s open source, so it’s free to use, and doesn’t have toolbars or spyware spoiling the experience.

GO Contact Sync Mod不会尝试任何有趣的东西。 它是开源的,因此可以免费使用,并且没有工具栏或间谍软件破坏体验。

sshot-219

Before you can install GO Contact Sync Mod, you need to download and install the Microsoft .NET Framework 3.5. Then you can install GO Contact Sync Mod and start keeping your Gmail and Outlook contacts in perfect harmony.

在安装GO Contact Sync Mod之前,您需要下载并安装Microsoft .NET Framework 3.5 。 然后,您可以安装GO Contact Sync Mod,并开始保持Gmail和Outlook联系人的完美和谐。

When you first open GO Contact Sync Mod, you’ll need to enter you Google account username and password before you can sync anything.

首次打开GO Contact Sync Mod时,需要先输入Google帐户的用户名和密码,然后才能同步任何内容。

sshot-1

Remember, if you’ve got two-factor authentication enabled on your Gmail account, you will have to use an app-specific password.

请记住,如果您的Gmail帐户启用了双重身份验证,则必须使用应用专用密码。

sshot-2

Some of you probably have two or more Google accounts. If you want to sync those with GO Contact Sync Mod, you create profiles. Under the sync options, you want to click the “sync profile” dropdown menu and then “add new profile.”

你们当中有些人可能拥有两个或多个Google帐户。 如果要使用GO Contact Sync Mod同步它们,则可以创建配置文件。 在同步选项下,您要单击“同步配置文件”下拉菜单,然后单击“添加新的配置文件”。

sshot-29

This will open the configuration manager. The options here are very simple. If you’ve already entered your login information, click “add” to create a new profile using that username/password combination. The “edit” button merely lets you rename your profile.

这将打开配置管理器。 这里的选项非常简单。 如果您已经输入了登录信息,请单击“添加”以使用该用户名/密码组合创建新的配置文件。 “编辑”按钮仅允许您重命名个人资料。

sshot-3

Looking at the sync options, you can select, which Outlook contacts to sync (if you have more than one Outlook e-mail account and address book), choose whether to sync deleted contacts, and whether the program prompts you when deleting contacts from your destination address book.

查看同步选项,可以选择要同步的Outlook联系人(如果您有多个Outlook电子邮件帐户和通讯录),选择是否同步已删除的联系人,以及程序从您的联系人中删除时是否提示您目的地址簿。

Note, in addition to contacts, you can also sync your notes and appointments.

注意,除了联系人之外,您还可以同步笔记和约会。

sshot-7

If you have “prompt deletion” selected, you will be asked how you want to proceed. For example, in this screenshot, an Outlook contact has been previously deleted. GO Contact Sync Mod prompts us whether we want to keep the Google contact or delete it too.

如果选择了“立即删除”,系统将询问您要如何进行。 例如,在此屏幕快照中,Outlook联系人先前已被删除。 GO Contact Sync Mod会提示我们是否要保留或删除Google联系人。

sshot-8

Below the sync options are some important configuration settings. Though these options have check boxes beside each, you can only choose one.

同步选项下方是一些重要的配置设置。 尽管这些选项在每个选项旁边都有复选框,但是您只能选择一个。

By default, the program will prompt you if you want to merge any duplicate contacts, or you can decide whether Outlook wins or Google wins the merge operation. Finally, you can select which way syncs are performed – either Outlook to Google or Google to Outlook.

默认情况下,该程序将提示您是否要合并任何重复的联系人,或者可以决定是Outlook胜出还是Google胜出合并操作。 最后,您可以选择执行同步的方式-Outlook到Google或Google到Outlook。

The automation settings let you choose whether program runs at startup, and if it automatically syncs. If you choose the auto sync option, the sync interval can then be set. It’s set to sync every two hours by default.

自动化设置使您可以选择程序是否在启动时运行以及是否自动同步。 如果选择自动同步选项,则可以设置同步间隔。 默认情况下,它设置为每两个小时同步一次。

sshot-4

If you select “report sync result in system tray,” a report will pop up from the GO Contact Sync Mod system tray icon.

如果选择“在系统任务栏中报告同步结果”,则将从GO Contact Sync Mod系统任务栏图标中弹出报告。

sshot-5

You may have also noticed the sync details and log. With this, if there are any errors reported, you can see what they are and make the necessary fixes.

您可能还注意到了同步详细信息和日志。 这样,如果报告了任何错误,您可以查看它们是什么并进行必要的修复。

sshot-9

Finally, right-click on the system tray icon to execute a manual sync, show, hide, or exit the program.

最后,右键单击系统任务栏图标以执行手动同步,显示,隐藏或退出程序。

sshot-6

As you can see, using GO Contact Sync Mod is whole lot easier than the manual import/export method we described previously.

如您所见,使用GO Contact Sync Mod比我们之前介绍的手动导入/导出方法容易得多。

Unfortunately, it only works with Gmail, so if you use another e-mail service or applicatoin, then the manual method might be your only recourse. That said, GO Contact Sync Mod will save Gmail users a lot of time and effort when it comes to maintaining and syncing contacts between it and Outlook.

不幸的是,它仅适用于Gmail,因此,如果您使用其他电子邮件服务或应用程序,则手动方法可能是唯一的选择。 也就是说,GO Contact Sync Mod在维护和同步Outlook与Outlook之间的联系人时将为Gmail用户节省大量时间和精力。

GO Contact Sync Mod

GO Contact同步模组

Microsoft .NET Framework 3.5

Microsoft .NET Framework 3.5

翻译自: https://www.howtogeek.com/202090/how-to-automatically-sync-contacts-between-outlook-and-gmail/

outlook gmail

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 答:import win32com.client as win32 outlook = win32.Dispatch('outlook.application') mail = outlook.CreateItem(0) mail.To = 'receiver@example.com' mail.Subject = 'Subject of mail' mail.Body = 'Body of mail' attachment = 'C:\\attachment.xlsx' mail.Attachments.Add(attachment) mail.Send() # 设置指定时间 mail.DeferredDeliveryTime = '20200505 10:00 AM' # 发送邮件 mail.Send() ### 回答2: 下面是用Python编写的程序,可以在指定时间调用Outlook发送Excel文件: ```python import win32com.client as win32 import datetime import time def send_email_with_outlook(): # 创建Outlook应用程序对象 outlook = win32.Dispatch('Outlook.Application') # 创建邮件对象 mail = outlook.CreateItem(0) # 设置邮件主题 mail.Subject = "发送Excel文件" # 设置收件人 mail.Recipients.Add("收件人邮箱地址@gmail.com") # 设置邮件正文 mail.Body = "这是一封用Python自动发送的邮件,附带Excel文件。" # 添加Excel附件 attachment = r"C:\path\to\your\excel_file.xlsx" mail.Attachments.Add(attachment) # 发送邮件 mail.Send() def schedule_email_sending(hour, minute): while True: current_time = datetime.datetime.now() target_time = datetime.datetime(current_time.year, current_time.month, current_time.day, hour, minute) if current_time >= target_time: send_email_with_outlook() break # 休眠1分钟 time.sleep(60) # 设置发送邮件的时间(24小时制) target_hour = 14 target_minute = 30 # 调用函数进行定时发送邮件 schedule_email_sending(target_hour, target_minute) ``` 在程序中,我们使用了`win32com.client`模块来操作Outlook进行邮件的发送。首先,我们定义了`send_email_with_outlook`函数用来发送邮件,其中设置了邮件的主题、收件人、正文和附件。然后,我们定义了`schedule_email_sending`函数用来实现定时发送邮件的功能。在该函数中,我们不断获取当前时间并与指定的发送时间进行比较,如果到达指定时间,则调用`send_email_with_outlook`函数发送邮件并跳出循环,否则休眠1分钟后再次检查。最后,我们设置了发送邮件的时间(24小时制),并调用`schedule_email_sending`函数进行定时发送邮件的操作。 ### 回答3: 下面是一个使用Python调用Outlook发送Excel的示例代码: ```python import win32com.client as win32 import datetime def send_excel_email(): outlook = win32.Dispatch('Outlook.Application') mail = outlook.CreateItem(0) mail.Subject = "发送Excel附件" mail.Body = "这是一封带有Excel附件的邮件" attachment = 'C:\\path\\to\\excel_file.xlsx' # 替换为你的Excel文件路径 mail.Attachments.Add(attachment) mail.Recipients.Add("recipient@example.com") # 替换为收件人的邮箱地址 # 设置发送时间为明天的12点 tomorrow = datetime.datetime.now() + datetime.timedelta(days=1) mail.SendAt = tomorrow.strftime("%m/%d/%Y 12:00:00 PM") mail.Save() print("已设置发送时间为明天的12点,请查看Outlook发送") if __name__ == "__main__": send_excel_email() ``` 在上面的代码中,我们使用`win32com.client`模块来调用Outlook应用程序。首先,我们创建一个`Outlook.Application`对象,并使用`CreateItem`方法创建一个新的邮件。然后我们设置邮件的标题和正文内容。 接下来,我们使用`Attachments.Add`方法来添加Excel文件作为附件。请将`attachment`变量的值替换为你要发送的Excel文件的路径。 然后,我们使用`Recipients.Add`方法添加收件人的邮箱地址。请将`"recipient@example.com"`替换为你要发送邮件的收件人的邮箱地址。 最后,我们设置邮件的发送时间为明天的12点,使用`SendAt`属性。你可以根据需要自定义发送时间。代码中已经注释了设置明天12点的示例,你可以根据自己的需求进行修改。 最后,我们调用`mail.Save()`保存邮件,并在控制台打印一条提示信息。 请注意,使用该代码需要在你的电脑上安装`pywin32`模块,你可以使用`pip install pywin32`命令来安装它。 希望以上代码对你有帮助,如果有任何问题,请随时提问。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值