[Fixed: client problem] Email e-card within photo gallery [Fixed: client problem] Email e-card within photo gallery
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Fixed: client problem] Email e-card within photo gallery

Started by somxai, December 06, 2003, 01:26:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

somxai

When sending an e-card from my photo gallery, all the recipient got is just the exclaimation point as below.

!


What happen?. what is wrong?.

Joachim Müller


sprockytown

Hi,

i have exactly the same problem:

http://www.bringt-es.de

first of all, i cant configure the hostname. maybe you could add an option to the setup menu? currently it points to "www.sprockytown.de" which is not what i want.

well, even if i correct the hostname (www.bringt-es.de/displaycard.php...etc..) the picture is not shown. neither found in the browser nor in the email.

thx for reading this!

btw: i also have a nuke portal running at www.en-total.de. all the paths and the hostname work correct there. but the picture in the email is not shown either. as email clients i use mozilla and kmail.

sprockytown

i nailed it down! might be also your "problem", somxai

of course one has to allow his email client to load externel references in email, like images. i had this disabled in kmail and mozilla, so the picture was never shown.  :lol:

hmm, enabling external links in email might be a security risk, though..

maybe it could be made configurable in the coppermine configuration, likewise to:

a) send image as link only
b) include image in email as external reference
c) attach picture as fileattach
??

i mean, thinking of all this spam we get, i'm almost sure plenty of us have this disabled in their email client. and a normal user might be very confused that there is no image shown.

i myself would prefer option c) in my settings.

somxai

Hi All:

Thanks for the replies.

Where can do go about and disable/ enable this email feature.  Nothing in the config about changing this.

Again, thanks for the help.

Joachim Müller

Coppermine doesn't come with it's own smtp client, it uses the one from the (server) OS. Usually Lunix-based servers come with proper smtp support, Windows don't. If you're running your own server, get it configured properly. If you're webhosted, take a look at inlcude/mailer.inc.php - this is where you can "tell" coppermine some "special" mail settings on your server (but your server has to be configured to send emails in the first place - look for $CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';
). Maybe you could ask your webhost for help on this as well.

GauGau

somxai

I did check and

$CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';

enable in the mailer.inc.php

My server is already enable for this kind of emailing.  But still not working.  Still getting the "!".

Thanks in advance for help.

Joachim Müller

are you webserving on your workstation pc? Check for a firewall or another software that might keep your server from sending mail.
Can you send emails from other applications running on your webspace?
Please take a look into the header of the mail you received and post it here.

GauGau

sprockytown

Quote from: "somxai"My server is already enable for this kind of emailing.  But still not working.  Still getting the "!".

doode, please re-read my post. if you receive the message, but get the "!" (picture not shown) this is infact of the settings in your email CLIENT. coppermine does not send the picture as fileattach - it is a link to an externel reference, and this is not shown in most email clients - depending on your  security settings.

i do understand you correctly - you can send emails now, but simply the picture is not shown in the emails - right?
correct me if i am wrong.

somxai

Answer to both of you, yes it's working with another application such as, phpBB, and my website script.  Email for (sending/ receiving) enabled on the server.

"you can send emails now, but simply the picture is not shown in the emails - right?"  <<< I have always been being able to send mail from the start when the gallery is installed, and you're right, just that the picture is not shown in the email.


Here is the full path/ view of the header.

Return-Path: <HCR-Albums@hmongcoloradoradio.com>
Received: from ns13.dot5hosting.com (root@localhost)
     by hmongcoloradoradio.com (8.11.6/8.11.6) with ESMTP id hBANG6v04169
     for <somxai@hmongcoloradoradio.com>; Wed, 10 Dec 2003 17:16:06 -0600
X-ClientAddr: 207.44.134.105
Received: from mail.hmongcoloradoradio.com (ns13.dot5hosting.com [207.44.134.105])
     by ns13.dot5hosting.com (8.11.6/8.11.6) with SMTP id hBANG5904164
     for <somxai@hmongcoloradoradio.com>; Wed, 10 Dec 2003 17:16:06 -0600
Message-Id: <200312102316.hBANG5904164@ns13.dot5hosting.com>
Subject: An e-card from somxai for you
To: <somxai@hmongcoloradoradio.com>
From: somxai <somxai@hmongcoloradoradio.com>
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 8bit
Date: Wed, 10 Dec 2003 23:16:05 UT
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Coppermine Photo Gallery
Importance: Normal


Please advice me about settings email CLIENT, if "coppermine does not send the picture as fileattach - it is a link to an externel reference, and this is not shown in most email clients".  It's not attaching the picture and it's not referencing to an external link either.

As you can see below, it's not even showing body message.

"Subject: An e-card from somxai for you  
From: somxai <somxai@hmongcoloradoradio.com>  
Date: Wed, December 10, 2003 4:16 pm  
To: <somxai@hmongcoloradoradio.com>  
Priority:  Normal  
 


!
 "

Joachim Müller


sprockytown

QuotePlease advice me about settings email CLIENT
so, what email client do you use?

btw.. visited your site.. but sending cards is disabled. please enable, and i'll have a look how it shows up here.

btw2: the source of your message BODY should read something like "<img src..> no?

sprockytown

Quote from: "gaugau"I must confess I'm at a loss on this.

i am not 100% sure about his problem either, because i have to pull every detail out of his nose <g>. neither can i test at his site, nor do i know the source of the message BODY, and i dont know about his email client.

though.. would you consider to attach the card into the email itself? base64 encoded or whatever. as i already pointed out, most of the users SHOULD HAVE the option linking to external references disabled in their emai client, just for security reasons. at least in mozillas mailclient and in kmail it is OFF by default. not sure about outlook(express), dont use it here.

somxai

I don't use any client email from my computer to send.  I use the mail of the root of my web server to send.

Sending e-card is enabled.  You have to be a registered user to send an e-card.

Oh...e-card used to work in version 1.0.

After upgrade to verion 1.2, the e-card stop working correctly.  Sending e-card is OK.  It actually said "Your e-card was sent"

But only ! show up in the email when received.

sprockytown

Quote from: "somxai"I don't use any client email from my computer to send.
jesus f..... christ (sorry!) i meant the email client! this is the programm you read your email with on your workstation.

on ms windows common clients are outlook express, outlook, netscape, mozilla, etc..
if your workstation is on a linux OS, you wouldnt have asked those questions anyway.

in this client you have to check the settings. ah well..
and please post the mesage source, not just the header, the complete message source including the message body!
thx.

Joachim Müller

Quote from: "somxai"Sending e-card is enabled.  You have to be a registered user to send an e-card.
supporters won't bother to register on your site - if you want support, provide a test account (username password). After all it is you who is looking for help, not us. :evil:

GauGau

somxai

Quote from: "gaugau"
Quote from: "somxai"Sending e-card is enabled.  You have to be a registered user to send an e-card.
supporters won't bother to register on your site - if you want support, provide a test account (username password). After all it is you who is looking for help, not us. :evil:

GauGau

Oh...sorry for the confusion.... Yes I use SquirrelMail version 1.2.11.


Thank you.

sprockytown

email works fine, just tested it:

[...]
           <img src="http://www.hmongcoloradoradio.com/gallery/albums/userpics/normal_154643_1_full.jpg" border="1" alt="" /><br />
[...]

the link is correct, so are both other links for those of us who dont allow to display external references.

i guess there is something wrong with your email client, if you see nothing. if squirrelmail is the name of your client, i am unable to help out, i dont know this software.

btw.. from the changelog:
Version 1.2.5 -- 22 February 2002
---------------------------------
  - Added 'View unsafe images' link to the bottom of pages which contain
    unsafe images.

i guess you shout get a recent version. 1.2.11 is not listed at all, recent version is 1.4.3

http://www.squirrelmail.org/changelog.php

somxai

Quote from: "sprockytown"email works fine, just tested it:

[...]
           <img src="http://www.hmongcoloradoradio.com/gallery/albums/userpics/normal_154643_1_full.jpg" border="1" alt="" /><br />
[...]

the link is correct, so are both other links for those of us who dont allow to display external references.

i guess there is something wrong with your email client, if you see nothing. if squirrelmail is the name of your client, i am unable to help out, i dont know this software.

Yeah... I tested sending to a different email account and working like a charm too.

Sorry for the trouble and thanks for the help.

This is a cool script.