E-card sent and received...NOTHING appears in e-mail E-card sent and received...NOTHING appears in e-mail
 

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]

Main Menu

E-card sent and received...NOTHING appears in e-mail

Started by phcreatives, October 31, 2004, 01:34:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

phcreatives

Newbie, of course.  I sent a couple of test cards.  Sent and received fine.  No errors.  Cards are visible in Admin.  However, recipient gets nothing in the body of the e-mail.  Any ideas???  I've been all over the board, with no luck.

Please help!

Thanks!

T-

Joachim Müller

can the recipient display html-formatted emails in his email client. Did you test with various email addresses and clients (or webmail user interfaces)? Usually this is a client side issue, which will (hopefully) be fixed in the next version of coppermine, where email will be sent both in plain text and html format (no release date known yet).

Joachim

phcreatives

Yes, client can.  I sent to 2 of my e-mails.  Both Outlook, and set to HTML.  Perhaps I should send to a GMAIL account to verify?  Will attempt.

Thanks for the help!

T-

phcreatives

Well, when sent to GMail, alll it shows is/are the graphic icons.  At least I get the Click Here to View text there.  Any Ideas?

phcreatives

Quote from: GauGau on October 31, 2004, 02:21:13 PM
can the recipient display html-formatted emails in his email client. Did you test with various email addresses and clients (or webmail user interfaces)? Usually this is a client side issue, which will (hopefully) be fixed in the next version of coppermine, where email will be sent both in plain text and html format (no release date known yet).

Joachim

2 things that I see:

1.  SMTP areas are empty (i.e. host, user, pword)

2.  This code follows: // Custom mail function

function cpg_mail($to, $subject, $msg_body, $type = 'text/plain', $sender_name = '', $sender_email = '')

{

Would the text/plain stop it from embedding?

Thanks again!

T-

Joachim Müller

1) leaving the smtp fields blank means you're using sendmail - as suggested in the coppermine documentation. As the emails are being sent, this is no matter of concern for you
2) This is the regular php syntax for a function. It means "if no sender name has been specified, user the sender name "blank". However: if a sender name has been specified, it will be used. This line of code is not related to what you're reporting. Gmail will filter html formatted emails, as it considers pics in html emails webbugs it won't display them. That's expected behaviour. There's nothing that can be done (at least in the current version of coppermine) about this issue. In fact (in the days of SPAM and the internet getting flooded with billions of ube every day), the ecard feature doesn't make any sense - nobody wants to receive an ecard, no matter how nicely it is being formatted.

Joachim