如何为 Xcode 持续集成配置电子邮件设置 [英] How to configure email settings for Xcode Continuous Integration

查看:30
本文介绍了如何为 Xcode 持续集成配置电子邮件设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了 Mavericks 和 OSX Server,并且已经启动并运行了 Xcode 机器人.每个机器人上都有一个通知设置,允许您在成功或失败时向所有提交者发送电子邮件.我已启用该选项并添加了一个额外的电子邮件地址进行测试.

I've set up Mavericks and OSX Server and have gotten Xcode bots up and running. There's a notification setting on each bot that allows you to email all committers on success or on failure. I've enabled that option and added an additional email address to test.

我似乎不知道在哪里配置电子邮件设置(即 smtp 服务器、登录名、密码).我尝试在 OSX Server 上启用邮件并将其设置为通过 ISP 中继外发电子邮件,但这似乎没有帮助.

I can't seem to figure where to configure the email settings (i.e. smtp server, login, password). I've tried enabling Mail on OSX Server and set it to relay outgoing email through ISP, but that didn't seem to help.

任何指导将不胜感激.

推荐答案

为了发送电子邮件,您只需在 OSX 机器上设置 postfix.

In order for emails to be sent out, all you have to do is set up postfix on your OSX machine.

这是我在设置时使用的 2 个指南:

Here's 2 guides I used when setting it up:

之后,邮件就顺利发送了.

Afterwards, the emails got sent out without any issues.

这篇关于如何为 Xcode 持续集成配置电子邮件设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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