coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: acrubin on August 25, 2004, 06:01:10 PM

Title: e-card data have been correpted by your mail client
Post by: acrubin on August 25, 2004, 06:01:10 PM
After fixing my SMTP issue (my fault), the link inside the e-card to view the card in a browser isn't working.  I've compared the link in the e-card to the link in the admin area for displaying e-cards and the e-card link in the email has chopped off about half of the link and therefore I get "Sorry but e-card data have been corrupted by your mail client"  Line: 32 of displayecard.php.

Any ideas???

When displayed via the admin interface to display sent e-cards everything works.  Everything else in the ecard look fine just the link doesn't work.

Thanks for the help.

Coppermine is really great!

-Alex Rubin
Title: Re: e-card data have been correpted by your mail client
Post by: Nibbler on August 25, 2004, 06:04:03 PM
Post a link and an account with ecard permissions if necessary and then we can see if it is a server or a client problem.
Title: Re: e-card data have been correpted by your mail client
Post by: acrubin on August 25, 2004, 06:11:33 PM
Here's the link from the email:

http://www.alexrubin.org/photos/displayecard.php?data=YTo2OntzOjI6InJuIjtzOjEwOiJBbGV4IFJ1YmluIjtzOjI6InNuIjtzOjEwOiJBbGV4IFJ1YmluIjtzOjI6InNlIjtzOjE4OiJhbGV4QGFsZXhydWJpbi5vcmciO3M6MToicCI7czo3MzoiaHR0cDovL3d3dy5hbGV4cnViaW4ub3JnL3Bob3Rvcy9hbGJ1bXMvdXNlc


Here's the link in the admin which work through the admin and if you copy and paste it into other browsers:

http://www.alexrubin.org/photos/displayecard.php?data=YTo2OntzOjI6InJuIjtzOjEwOiJBbGV4IFJ1YmluIjtzOjI6InNuIjtzOjEwOiJBbGV4IFJ1YmluIjtzOjI6InNlIjtzOjE4OiJhbGV4QGFsZXhydWJpbi5vcmciO3M6MToicCI7czo3MzoiaHR0cDovL3d3dy5hbGV4cnViaW4ub3JnL3Bob3Rvcy9hbGJ1bXMvdXNlcnBpY3MvMTAwMDEvbm9ybWFsX0RTQzAwMDEwLkpQRyI7czoxOiJnIjtzOjE2OiJJIExvdmUgdGhpcyBvbmUhIjtzOjE6Im0iO3M6MjI6IlRoaXMgaXMgd2F5IGNvb2whIDotRCAiO30%3D


The e-cards are open to everyone so there's no user account needed to view them.

Thanks!
Title: Re: e-card data have been correpted by your mail client
Post by: Nibbler on August 25, 2004, 06:15:20 PM
Your gallery is set up to not allow anonymous users to send ecards. Please either change the permissions or post a test account with the correct permissions.
Title: Re: e-card data have been correpted by your mail client
Post by: acrubin on August 25, 2004, 06:31:27 PM
Sorry about that.  I've changed it to allow e-cards to be sent from anonymous users.

Incidently I also saw that the "Recipient Name" field isn't making it to the email.  Would you please confirm this when you run your test e-card.  It just shows a "," for the name then displays the recipient's email address.


Thanks again,

-Alex
Title: Re: e-card data have been correpted by your mail client
Post by: Nibbler on August 25, 2004, 07:29:00 PM
I get the link working fine in my email, so I suspect it may be an issue with your email client, or maybe some spam/security system that doesn't like long links.

The recipient name isn't coded to display on the ecard atall, I'll take a look at that for the next version.
Title: Re: e-card data have been correpted by your mail client
Post by: acrubin on August 25, 2004, 09:12:40 PM
The issue is with the email app.  I use Entourage on Mac OS 10.3 and if you turn off HTML display the link doesn't work.  The project might want to look into this for the next version as to block spam a lot of people have this setting turned off, as I did.

Thanks for all your help.

For the next update check the english (grammer) in the error line display when you get the error I did:

"Sorry but e-card data have been corrupted by your mail client"

if should propably be:

"We're sorry, the data for the e-card you are trying to access has been corrupted by your mail client"

or at least change the "have" to "has".

Thanks again,

Alex Rubin
Title: Re: e-card data have been correpted by your mail client
Post by: Nibbler on August 25, 2004, 09:30:57 PM
'data' is a plural noun, so the existing usage is grammatically correct. I will however alter the wording to make it clearer.
Title: Re: e-card data have been correpted by your mail client
Post by: Joachim Müller on August 25, 2004, 11:16:29 PM
Quote from: acrubin on August 25, 2004, 09:12:40 PM
The issue is with the email app.  I use Entourage on Mac OS 10.3 and if you turn off HTML display the link doesn't work.  The project might want to look into this for the next version as to block spam a lot of people have this setting turned off, as I did.
Already changed that for the next version - it will have a completely different mailer.inc.php file, with the smtp options settable in coppermine config and ecards being sent both in html and plain text format. This will reduce both spam score on spam blocking servers and increase the probability that the ecard will reach the recipient "in one piece". Thanks for the suggestion though  ;)

GauGau
Title: Re: e-card data have been correpted by your mail client
Post by: Nibbler on August 26, 2004, 03:55:31 AM
I've added some extra code into the next version to attempt to pull the complete ecard data from the ecards table in the db if it can match a truncated link to a sent ecard.