Url not inserted into email.
Brought to you by:
gbizeau
Hi,
Here is the email sent when a new user is created, edited to protect the innocent :)
You have been setup to use the FileDrop program
Your username: xxxx
Your password: xxxx
You can change this password after you login, by going to the ADMIN section
You can login and change your password by going to this URL:
Please no not reply to this email - unmonitored mailbox
I have set the url in FileDrop.pm
Using V1.0.4
Brett,
My bad, I forgot to add the $URL into the messages file...
if you edit the cgi-bin/admin.cgi and search for URL you will see where it should be added, you can simply change the line
$message .= "You can login and change your password by going to this URL: http://filedrop.digiprime.com\n\n";
to read
$message .= "You can login and change your password by going to this URL: " . $FileDrop::URL . "n\n";
You will however need to make sure this variable is set in the FileDrop.pm module.
Glen
$message .= "You can login and change your password by going to this URL: " . $FileDrop::URL . "\n\n";
Was missing a \ in front of one of the n's
Hi,
Thanks for the reply.
I think those where already in there. I have edited by hand the required lines in the php file as I also needed to customise the content of the Email.
I will try downloading the un-altered files and check.
Thanks Brett.