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] 2   Go Down

Author Topic: garbled comment email?  (Read 12755 times)

0 Members and 1 Guest are viewing this topic.

cryogenic

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 79
    • the cynic says...
garbled comment email?
« on: December 17, 2004, 01:05:57 am »

Whenever someone leaves a comment on one of the pictures in my gallery, I get an email. However, the email comes out completely un-usable by any means. Any clue what could be causing this? Here's a copy of the email that gets sent to me.

Quote
Content-Type: multipart/alternative;
   boundary="=_f51f89eb4278e23775a8e9392913d29b"
Message-ID: <i8ua8c.n5dvb4@gallery.whatthefcuk.info>

--=_f51f89eb4278e23775a8e9392913d29b
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit


--=_f51f89eb4278e23775a8e9392913d29b
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I was all sorts of drunk there, just for the record! <--- the comment text is here
=0D Someone has posted a comment on your gallery. See it at http://gallery.=
whatthefcuk.info/displayimage.php?pos=3D-635
--=_f51f89eb4278e23775a8e9392913d29b--

The link would be at the end of the email, but it's apparently encoded in such a way that the link is unusuable. I'm using sendmail (the default config) from coppermine and have not specified an smtp server or anything of that nature. Also, the email shows up the same in all of my mail readers whether it be webmail, thunderbird, outlook, or even "snapper" on my Treo600. I just downloaded the latest files from CVS last night and it has been doing this for about a month that I can tell. I've just been too busy to actually take the time to report it. Anyone else noticing the same thing? Perhaps it's on my end and I need to fix something?

The image in question is here: http://gallery.whatthefcuk.info/displayimage.php?pos=-635  though it does it on every image I've tried it on and nothing I've done has fixed it as of yet
« Last Edit: March 05, 2005, 09:01:13 pm by donnoman »
Logged

cryogenic

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 79
    • the cynic says...
Re: garbled comment email?
« Reply #1 on: December 19, 2004, 11:42:51 am »

well, I even tried to use smtp and it still did the same thing. Anyone else having the same problems?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #2 on: December 19, 2004, 12:08:41 pm »

Yes, it is a bit horrible.  The comment is there, but the link is broken, and the whole thing just looks bad.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

cryogenic

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 79
    • the cynic says...
Re: garbled comment email?
« Reply #3 on: December 19, 2004, 12:36:31 pm »

it only just NOW shows the link in a clickable format in the newest version of mailer.php. It seems to repeat it 2-3x in the email, but at least the link isn't all jacked up and broken onto two lines now. Any idea what's causing it to do this? something wacky in mailer.php?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #4 on: December 19, 2004, 01:42:41 pm »

Doh, I must remember to update before checking.

Yes the link is now usable, and the comment is clear, but as you say, it is all repeated.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

  • Guest
Re: garbled comment email?
« Reply #5 on: December 19, 2004, 01:48:35 pm »

What do you mean by repeated ?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #6 on: December 19, 2004, 02:52:56 pm »

here
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

  • Guest
Re: garbled comment email?
« Reply #7 on: December 19, 2004, 02:57:30 pm »

You are seeing both the plain text and html components of the multipart message, where you should only be seeing one  or the other depending on your client setup. What client are you using ? -mails display fine for me using thunderbird, horde and squirrelmail.
« Last Edit: December 19, 2004, 03:03:09 pm by Nibbler »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #8 on: December 19, 2004, 03:14:15 pm »

Well, its M$ outlook express, so that probably explains a lot.  But it's also the one used by most people
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

  • Guest
Re: garbled comment email?
« Reply #9 on: December 19, 2004, 03:32:53 pm »

Just tested it on outlook express 6 and it displays fine.

Can you change the line from

Code: [Select]
$mail->setHtml($msg_body, $msg_body_plaintext, './');

to

Code: [Select]
$mail->setHtml($msg_body, "$msg_body_plaintext\n", './');

in the mailer and see if that helps.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #10 on: December 19, 2004, 05:15:27 pm »

No, still the same.

OE 6.00.2900.2180 (xpspxp2.....etc)
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: garbled comment email?
« Reply #11 on: December 19, 2004, 11:32:45 pm »

I checked the email in Outlook 2002 and Horde webmail and the message shows up with the hyperlinked URL and no duplicates.
« Last Edit: December 19, 2004, 11:40:49 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: garbled comment email?
« Reply #12 on: December 20, 2004, 02:06:31 am »

tested with Outlook 2000 both over POP3 and Exchange Server.

Joachim
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #13 on: December 20, 2004, 08:30:15 am »

OK,

I can confirm this is still happening to me, and I can also confirm it is the sending process that is causing it, not the email client.
I am seeing the same result from my site when viewed via webmail, as well as when received via email client.

But, I can also say it's not something I would worry about. 
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

  • Guest
Re: garbled comment email?
« Reply #14 on: December 20, 2004, 12:12:01 pm »

Can you put mail@ic-gallery.com as admin email address and get one to be sent to me ?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #15 on: December 20, 2004, 06:21:02 pm »

Will go do it now.

Edit, sent to nibbler.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Nibbler

  • Guest
Re: garbled comment email?
« Reply #16 on: December 20, 2004, 07:08:57 pm »

Appears incorrectly for me too, I can't see why though.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: garbled comment email?
« Reply #17 on: December 20, 2004, 07:31:06 pm »

But at least it gives the correct link, and comment now.  Twice is better than not at all, so I won't lose any sleep over it.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: garbled comment email?
« Reply #18 on: March 01, 2005, 08:17:34 am »

Replaced old mailer class from Richard Heyes with the new phpmailer class from phpmailer.sf.net and commited to CVS.
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: garbled comment email?
« Reply #19 on: March 01, 2005, 09:13:39 am »

@Aditya: please review section "8.3 Coppermine uses code from the following free softwares" of the documentation then as well
Quote
HTML Mime Mail class
Author: Richard Heyes
E-mail: richard AT phpguru DOT org
URL: http://www.zend.com/codex.php?id=103&single=1
should be replaced with the credits for the new class.

Joachim
Logged
Pages: [1] 2   Go Up
 

Page created in 0.056 seconds with 18 queries.