PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 26th, 2009, 12:52 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 28
deletion email not send

why my users do not receive the deletion or aproved notice email?

In tests the administrator receive the email with news ads pending aproval, but when i aprove the ad, the user do no recieve any email.

The user receive correctly one email when a new ad is uploaded to a category he is suscribed.

the Allow users to be notified of new posts via email? option in admincp is set to yes.

thanks in advance
joeldaviddc is offline   Reply With Quote
Old November 26th, 2009, 03:37 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
thats the admin_email function. It is not constrained by anything. I will run a test but I am pretty sure there is nothing wrong there because when we worked with the email phrases etc in 3.0-3.1 the admin email was one especially we know worked fine because we had to add some extra code to get some variables to parse that where missed so I knew users recieved emails because some customers reported an issue with variable code showing in the email not the variable itself.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 27th, 2009, 05:23 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 28
ok, is working fine. It was a strange problem with a gmail account all the other emails from the script are acepted but the deletion and approve emails .... no??. I have changed the destination email and is working fine.

I have added a adminlog sentence in the pp-inc after the mail sentence and i can see all emails are correctly sent.

thanks Chuck S
joeldaviddc is offline   Reply With Quote
Old November 27th, 2009, 05:48 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
some strange gmail thing I guess who knows
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 27th, 2009, 06:21 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 28
this was the problem:

the admin_email function sent the email like an anonymous user without headers, the send_ppemail function (used for notifications email) send the emails with the Administrator Email Address and complete headers.

i have edited pp-inc and in the admin email function i have added this code (copied from send_ppemail function) after this line : $email_from = "From: {$Globals['adminemail']}";

Code:
Content visible to verified customers only.

i

then i changed this line: mail( $useremail, $subject, $letter, $email_from );

with this line: mail( $useremail, $subject, $letter, $headers );


Now is was working fine, the emails are sent "from the administrator account" and gmail accept the deletion and approve emails
joeldaviddc is offline   Reply With Quote
Old November 27th, 2009, 06:24 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I will check that out but there is nothing wrong with the code in there

we clearly set the $email_from line so what your saying in reality your gmail account will only work if you send html email which I think would be invalid

Code:
Content visible to verified customers only.
That function block clearly shows email from is defined as the admin email
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 27th, 2009, 06:35 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 28
i am only a beginner, you are the coder, you are a gurú for me.

I only said what problem i have, and what is the solution i take. Before the modification gmail do no accept the emails sent, afther the modification, yes.

Your can see in the attachment other email server accept all the emails but the deletion email was from anonymous user

Pearhaps it was a problem of my email server, i d´ont know. I only expose what happend. in adittion my explanation is very bad because my english is very poor, sorry
Attached Images
File Type: gif anonymous.gif (6.0 KB, 4 views)
joeldaviddc is offline   Reply With Quote
Old November 27th, 2009, 07:12 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 28
i have now a new problem, the product title do not appear in the email sent, (with and without the related modification)
joeldaviddc is offline   Reply With Quote
Old November 27th, 2009, 07:35 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 28
i changed this in adm-misc.php and now the and now the title appear in the email sent:

Code:
Content visible to verified customers only.
Do you think this change have others negative and non desired effects?
joeldaviddc is offline   Reply With Quote
Old November 27th, 2009, 08:15 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well I cant say since your code is modified now but we already grab the title here

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I? Send a Welcome Email? GermanTin Classifieds How do I...? 1 March 25th, 2009 12:37 AM
Admin: send email to all current advertisers oldengine Classifieds Suggestions 0 January 8th, 2007 09:11 AM
Send photo's via email angeleyes7 Photopost Pro How Do I...? 1 February 2nd, 2006 10:09 AM
Refer Review (Send an Email) InterFX ReviewPost How do I...? 1 January 23rd, 2006 02:28 PM
How do I send an HTML email? nostosnights Photopost Pro How Do I...? 2 January 20th, 2005 03:24 PM


All times are GMT -5. The time now is 06:34 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0