forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 email => Topic started by: Coppermine_secure on September 09, 2010, 09:44:48 pm

Title: ECARD PROBLEMS PART II
Post by: Coppermine_secure on September 09, 2010, 09:44:48 pm
I have been using coppermine products for some time now, and recently set up a new photo site with the latest version 1.5.8, and everything is working okay except that I cannot get the ecards to be sent. I have tried leaving the email settings blank, but no response.
I tried using SMTP settings for my personal verizon account emails, my gmail emails accounts, and my email accounts set up on the server I am hosting the website (coppermine) on, and get errors every time. I am using the correct server smtp addresses, user names, and passwords in each case.  The permissions are set correctly.  How do I determine if my hosting company is restricting the sending of emails from coppermine?

The last error I report is:

Error
Sorry but the server can't send your e-card...

File: /home/comcomco/public_html/domain.com/ecard.php - Line: 248

Notices
/include/functions.inc.php

    * Notice line 184: Undefined index: dbcharset

/include/mailer.inc.php

    * Warning line 2114: fsockopen() [function.fsockopen]: unable to connect to outgoing.verizon.net:587 (Operation not permitted)
    * CPG Notice line 1695: SMTP Error: Could not connect to SMTP host.




I have read and understand the previous posts, and have been able to send ecards with earlier versions of Coppermine on my other sites in the past.  When I try to send an ecard from another site using version 1.3, I do not get an error message, and the program reports an ecard was sent, but I do not receive an ecard sent to my email, which makes me suspect that webhostingbuzz.com does  not allow for the sending of emails from their servers through coppermine.

Any help would be greatly appreciated. 
Title: Re: ECARD PROBLEMS PART II
Post by: Αndré on September 09, 2010, 10:05:42 pm
Does other email stuff work (registration, report to admin, contact form)?
Title: Re: ECARD PROBLEMS PART II
Post by: Coppermine_secure on September 10, 2010, 04:23:59 am
No none of these is successful in sending emails.
Title: Re: ECARD PROBLEMS PART II
Post by: Αndré on September 10, 2010, 09:08:31 am
    * Warning line 2114: fsockopen() [function.fsockopen]: unable to connect to outgoing.verizon.net:587 (Operation not permitted)
You cannot use external SMTP servers, so you have only 2 possibilities I think:
1. use sendmail (= leave all SMTP settings blank)
2. use the local SMTP server, if any


What exactly happens if you use sendmail? A link to your gallery might help.

get errors every
Please post them.
Title: Re: ECARD PROBLEMS PART II
Post by: Coppermine_secure on September 10, 2010, 01:45:39 pm
Webhostingbuzz.com restricts sendmail.
So, I took your advice and am using a local SMTP and I am successful in sending the ecard. 

The ecard gets sent,
but without the picture image...  I get an emailed ecard that is blank, and displays the alternative link instead of the image.

Log Note:

/include/functions.inc.php

    * Notice line 184: Undefined index: dbcharset
Title: Re: ECARD PROBLEMS PART II
Post by: Αndré on September 10, 2010, 01:54:54 pm
Afaik the picture is never sent, but embedded from your gallery. Either your email client doesn't support embedding, or your path to the gallery is wrong. Hard to say without a link ::)
Title: Re: ECARD PROBLEMS PART II
Post by: Coppermine_secure on September 10, 2010, 02:23:32 pm
Yup, Not sure why the site worked, but it was an automatic setup by webhostingbuzz, and they had the name of
the server wrong in the pathway under config settings.  Fixed that and the image is sent, but only when I am logged
in as an admin user.  When  I log out, the ecard fails.  Wenhostingbuzz restricts this type of email if the sending email
does not match the SMTP email when the ecard is sent.  SO if I am logged into the site with an email set up that is one
of webhostingbuzz's email accounts, it works.  When I am logged into with my verizon account email, it is not sent.

When I log out, the ecard is not sent.  So I attempted to change the email in my first admin account from a verizon account
to a webhostingbuzz account, to see if when I logged out, would the ecard be sent, and I was locked out of the site
because of a password error.  When I am allowed back in (time), I will let you know if this worked.
Title: Re: ECARD PROBLEMS PART II
Post by: andrewfr on November 16, 2010, 10:55:29 am
I have an odd problem. Since about 2 months ago people using my galleries can no longer see the image sent with an ecard. I have checked using several programs and this is what I find. In the preview in Firefox the link to the image is almost invisible. In the Alternative link in Firefox no link to the image is visible. In Opera there is a long thin link which works, In Thunderbird the link to the display.php for the image is not visible when selecting "Message body as original HTML" A small link is just visible when selecting "Simple HTML" .
When I look at the Message or Page source I can see the code linking to the image but no link appears!

This code is there but not shown on the browser.

Code example:

<table border="0" cellspacing="0" cellpadding="10" bgcolor="#ffffff">
        <tr>
          <td valign="top">
           <a href="http://xyz.com/displayimage.php?pid=1301"><img src="http://xyz.com/albums/userpics/PIC1974.jpg" alt="" vspace="8" border="0" class="image" /></a>
                                         <br />
                                         <div align="center">
                                                 <h2>PIC 1974</h2>


Any ideas?

I just upgraded to 1.5.8. Still same problem. I have tried turning off firewalls, virus checkers etc. Same problem....


Best regards,

Andrew