My bugzilla system keep hit the following error:
There was an error sending mail from '
[email protected]' to '
[email protected]':Can't send data
I think that is some problem with my setting and configuration.
First is the urlbase
I have tried setting it to bugzilla.example.com, and http://127.0.0.1:81/, and http://10.0.0.236/ (My laptop IP address, I use this laptop to set up bugzilla) but the error still persists. Actually what should I put in the urlbase field?
Parameter = Email
Under mail_delivery_method, i choose SMTP.
Under mailfrom, I put bugzilla-daemon.
smtpserver, I tried leaving it blank, or setting it to 220.181.12.12 before, but could not solve my problem
For my sql, the following is the data and command I used:
C:\mysql\bin>mysql --user=root -p mysql
Enter password: 1234 (When I install mysql into my laptop, it ask me to key an username and password, i have key in username as 'cvuser' and password as '1234', but here never ask me to key in any username)
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.15 MySQL Community Server (GPL)
mysql> GRANT ALL PRIVILEGES ON bugs.* TO 'bugs'@'localhost' IDENTIFIED BY '123456';
Query OK, 0 rows affected (0.03 sec)
In C:\Bugzilla\localconfig, I put the following info:
#
# How to access the SQL database:
#
$db_host = "localhost"; # where is the database?
$db_port = 3306; # which port to use
$db_name = "bugs"; # name of the MySQL database
$db_user = "bugs"; # user to attach to the MySQL database
#
# Enter your database password here. It's normally advisable to specify
# a password for your bugzilla database user.
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to
escape it by preceding it with a \ character. (\') or (\\)
#
$db_pass = '123456';
Can someone tell me where my mistake is? I have googled for this issue for few days but still cannot find the solution.