Menu

#3 Url not inserted into email.

open
Modules (1)
5
2011-04-26
2011-03-22
brettmilfos
No

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

Discussion

  • Glen Bizeau

    Glen Bizeau - 2011-04-22

    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

     
  • Glen Bizeau

    Glen Bizeau - 2011-04-22

    $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

     
  • Glen Bizeau

    Glen Bizeau - 2011-04-22
    • status: open --> pending
     
  • brettmilfos

    brettmilfos - 2011-04-26
    • status: pending --> open
     
  • brettmilfos

    brettmilfos - 2011-04-26

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.