Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: registration email formatting  (Read 5566 times)

0 Members and 1 Guest are viewing this topic.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
registration email formatting
« on: December 17, 2004, 12:17:45 pm »

When I received the registration email, it was not in plain text like it was for v 1.3.2. It was formatted, though in what I don't know. Because of that, the URL isn't automatically hyperlinked because it doesn't have HTML markup telling it is a link. Also, there are no line breaks.

This is a registration email sent from v 1.4.1 (The hyperlink is from the forum, but it's not like that in Outlook):
Quote
Thank you for registering at Take Thu Your username is : "test" Your password is : "****" In order to activate your account, you need to click on the link below or copy and paste it in your web browser. http://localhost:84/register.php?activate=5d8aa3bf223da1e928f7bf2b2322825a Regards, The management of Take Thu

This is from v. 1.3.2:
Quote
Thank you for registering at Take Thu!

Your username is : "test"
Your password is : "****"

In order to activate your account, you need to click on the link below
or copy and paste it in your web browser.

http://localhost:85/register.php?activate=17b23b84f6d577d75425ea5ec5ed5b5f

Regards,

The management of Take Thu!

Is it related to this?
« Last Edit: February 18, 2005, 11:11:33 am by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registration email formatting
« Reply #1 on: December 17, 2004, 06:25:54 pm »

yes, I'm afraid so.

Joachim
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: registration email formatting
« Reply #2 on: December 17, 2004, 06:52:10 pm »

I tried Nibbler's suggested fix and the format looks the same. :-\\

However, that code was supposed to fix another issue which I did not have.
Logged

Nibbler

  • Guest
Re: registration email formatting
« Reply #3 on: December 17, 2004, 08:34:11 pm »

My registration emails have line breaks  :-\\
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: registration email formatting
« Reply #4 on: December 17, 2004, 10:08:14 pm »

I was hoping it would be due to my setting for Character encoding but when I changed it from Western to Default, it didn't make a difference. :-\\ And I have run CVS update to ensure I am using the most recent unaltered (by me) files.

So I guess it's down to server setup, but it works with v. 1.3.2 and I ran a diff to compare the files and can't seem to find the difference that would affect things like this.
Logged

Nibbler

  • Guest
Re: registration email formatting
« Reply #5 on: December 19, 2004, 04:47:23 am »

The difference would be in the mailer. Adding nl2br()s into some places should fix the formatting problems.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registration email formatting
« Reply #6 on: February 18, 2005, 08:10:49 am »

does anybody volunteer to fix this?

Joachim
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: registration email formatting
« Reply #7 on: February 18, 2005, 08:56:25 am »

I have encountered and resolved the same thing while working on the report to moderator function so I'll give this a try.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: registration email formatting
« Reply #8 on: February 18, 2005, 11:10:36 am »

I tested it out and it looks like it had already been fixed or addressed so will mark this accordingly.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 18 queries.