This is an old revision of the document!
====== Mail server ====== When the system or team has set a valid email account, and astercc system will send emails out of this email address. This is used in Send in bulk, Agent Message, Invoice, Work Order etc. **Message--> Mail server** to enter the page below. {{:en:module_manual:message:邮件服务器_页面.jpg?768|}} ===== Add ===== Click [Add] to open the mail server add page. {{:en:module_manual:message:邮件服务器_添加.jpg?768|}} **Team:** If you do not choose a team, this mail server will be used to send emails at system level. If you assign a team, this team will be using this email address to send emails. **Server type:** SMTP. Reliable. If your email address has not been blacklisted by the service provider, all emails can be sent. Setting this kind of emails needs account and password. When the system sends emails, it will submit review to the service provider, after passed, the emails will be sent. ( You can understand this way: someone login your email with your account and password and send an email ) Local host. Unreliable, but easily set. Enter an email address randomly, even if it dose not belong to you. Emails can be sent by the name of that address. If the email suffix ( content after @)you enter dismatch your server and SMTP server, the email basically cannot be sent successfully. ( QQ mail, 163 mail are most likely to be rejected, gmail can send successfully sometime.) **Mode:**After created, whether the email will be sent immediately or enter the background for Daemon. Php, means send immediately. When created the email, choose this kinds of email server, click [send]. The system will send this email immediately, and now you need to wait for the result (successful or fail). According to the result the system will show an archives journal (successful) or a due out message journal (fail). The advantage of this mode is to send one email immediately without waiting for the process. The disadvantage is that you need to wait for the result which can take long. Daemon, same spped as php. This mode process a batch of emails every minute, and you do not need to wait for the results. That agents create the email and click send equals saving a due out journal in the system, and the emails will be sent according to the journal. When send a large volume of emails, we recommend you use Daemon mode. **Hostname:** If you have an email account menglj@163.com, we call 163 mail the host, aka the service provider. You can enter anything here for identity the source or purpose of this email. Thus, agents will be aware of which mail server is to choose. **Host IP:**The server IP of the service porvider. For instance, you want to send emails with you gmail account, you should enter// smtp.gmail.com//. For other host ip, please consult the provider. **SMTP port:** the SMTP port. Gmail enter 465. For others, please consult the provider. **发信人邮箱:**你的邮件地址,即要使用哪个邮件外发。例如填写 menglj@astercc.com。 **是否默认:**告知系统主动发邮件时使用哪个邮件服务器。每个团队只能有一个默认邮件服务器(不选团队的邮件服务器也只能有一个默认服务器)。 譬如系统定期发账单,会使用系统默认的邮件服务器。工单变化时,发邮件给抄送者会使用其团队的默认邮件服务器。 人工触发的邮件发送,会使用发送者手动指定的邮件服务器。这里默认的邮件服务器只提供给系统程序自动触发的邮件发送功能。 **状态:**只有可用时,此邮件服务器才能被发送者选择,同样只有可用的邮件服务器才能在系统主动外发邮件时使用。 **是否ssl:**ssl是一种网络通信的安全协议。此项应根据邮箱服务商的要求来填写。一般都选否,如果你使用gmail邮箱,此处要选择是。 **用户名,密码:**当你选择服务器类型=SMTP发送时,请在此处填写你邮箱(发信人邮箱)的用户名和密码。 由于邮箱服务商的要求不同,用户名填写方法也不同。 gmail邮箱举例,发信人邮箱为menglj@astercc.com,用户名需填写menglj@astercc.com 163邮箱举例,发信人邮箱为menglj@163.com,用户名需填写menglj 其它邮箱请询问邮箱服务商。 密码填写你登录邮箱的密码。 服务器类型=本机发送时,无需填写用户名和密码。 **测试:**写好上述内容点击【测试】按钮(针对“服务器类型=SMTP”的邮件服务器使用),见到按钮旁出现红色信息提示(提示:connect success!)表示连接成功,服务器可以正常工作。反之则表示不能够发送邮件。 {{:en:module_manual:message:邮件服务器_测试.jpg|}}