Dear developers, In some magic way I suddenly managed to set up sendmail to work on my server. I am now trying to configure so that the links created in the mail are sensible. The mail now looks as follows:
> Hello testyngve, > > someone, most likely you... > > Follow this link...: > https://111.111.1.111/users/reset_password/asdff23lf9332l > > If you believe ... report it to us via https://111.111.1.111/contact > > > Thank you > > https://111.111.1.111 A few problems here. The most significant is that I do not use https yet (dunno how to get that working?), and the default port is not gitorious. Hence I would like to replace https://111.111.1.111 -> http://111.111.1.111:3000 so that the links are correct. The second, which is of less importance, is that it says "Thank you" and then my IP. I would like to replace that with e.g. the "gitorious_support_email". I tried to fix that last part in app/views/mailer/forgotten_password.html.erb, but that did not seem to do anything. I also tried to set the "ActionMailer::Base.default_url in config/environments/production.rb to http, but that neither seemed to have an effect. I tried a simple restart of the server, should I do something else as well? Or am I just doing it plain wrong? Thanks in advance for any guidance! Best Regards, Yngve -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
