Hi all,
I have managed to set up the email and it send everything correctly - however - when the mail arrives in my inbox - it has the localhost IP of my server and not the http://www.domainname.co.uk of my server (and the link (locally) works correctly)
I cannot seem to locate the point at which this is occuring - can anyone help
tia
Scoot
email - wrong address in the link
Moderators: Developer, Contributor
Sorry to bring this thread up again, but I have exactly the same problem. Mantis is running fine on a Win 2003 Server with IIS 6.0.
But the links in the email-notifications always refer to 'localhost', e.g. the link to the account registration is:
http://localhost:8000/verify.php?xxx
I cannot find the entry/file where this can be changed. What I want is that the link refers to the hostname of the server, so the links are also usable from outside.
Thanks in advance!
Edit: sorry forgot, the installed mantis version is v1.0.3
But the links in the email-notifications always refer to 'localhost', e.g. the link to the account registration is:
http://localhost:8000/verify.php?xxx
I cannot find the entry/file where this can be changed. What I want is that the link refers to the hostname of the server, so the links are also usable from outside.
Thanks in advance!
Edit: sorry forgot, the installed mantis version is v1.0.3
I changed it on the config_defaults_inc.php and now everything works fine.
$g_hostname = 'my.domain.address.here';
Now everything works fine, except when opening Mantis on the server using, for example: http://localhost/mantis... When I report a Bug using this address, the bug goes on the email with the adress http://localhost/mantis/bug_url_bogus instead of http://my.domain.address.here/mantis/bug_url_bogus...
my.domain.address.here can be an IP Address. In my case it is and works fine.
Hope it helped...
P.S.: Tried to take out the links but didn´t know how... HTML is OFF for this post, but still, links are active.
$g_hostname = 'my.domain.address.here';
Now everything works fine, except when opening Mantis on the server using, for example: http://localhost/mantis... When I report a Bug using this address, the bug goes on the email with the adress http://localhost/mantis/bug_url_bogus instead of http://my.domain.address.here/mantis/bug_url_bogus...
my.domain.address.here can be an IP Address. In my case it is and works fine.
Hope it helped...
P.S.: Tried to take out the links but didn´t know how... HTML is OFF for this post, but still, links are active.