[PHP] How to set up email notifications in BugFree

little bottle
Release: 2023-04-06 10:24:01
forward
2752 people have browsed it

This article talks about using BugFree to set up email notifications. It has certain reference value. Friends in need can learn about it. I hope it can be helpful to you.

When the company uses bugfree to assign new bugs and send them to colleagues, some people always fail to log in to BugFree in time to check the ones assigned to them, so they need to add an email notification so that the assigned ones can be notified in time. colleague. Many people on Baidu use QQ mailbox to achieve this. QQ mailbox can also be used, and NetEase mailbox can also be used. Let me take NetEase mailbox as an example to talk about an example of configuring BugFree mailbox sending.

Here is the 163 mailbox as an example:

First log in to the 163 mailbox:

Then find the settings-> ;POP3/SMTP/IMAP; Turn on the POP3/SMTP service (as shown below)

## After turning it on, open it The project finds the php-ini file to perform some configurations.

Modify the configuration as follows


[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.163.com
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com
Copy after login

After modification, configure the protected/config/main.php file in BugFree as follows


'mail' => 
    array (
      'on' => '1',  //开启邮件
      'from_address' => 'XXXX@163.com',//发送邮件的邮箱地址。
      'from_name' => 'BugFree',
      'send_method' => 'SMTP',
      'send_params' => 
      array (
        'host' => 'smtp.163.com',// SMTP邮箱主机,这里以163为例
        'smtp_auth' => true, //这里要改成true
        'username' => 'XXXX',//发送邮箱账号
        'password' => 'XXXX',//发送邮箱密码
      ),
    ),
Copy after login

After configuring, restart the server.

Then log in to BugFree and find the place '

Edit my information''

## This is OK, BugFree can send email notifications in real time and regularly. After creating a new Bug or Test Case and saving it, assignees and CCs will receive real-time email notifications. You can enter multiple user accounts or email addresses in the "

CC"

edit box, and separate the addresses with commas. Related tutorials:

PHP video tutorial

The above is the detailed content of [PHP] How to set up email notifications in BugFree. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!