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 January 10th, 2011, 12:11 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 254
Send a message via ICQ to dontom
HTML in no-html Ad upload notification emails

The email looks like

Code:
Content visible to verified customers only.
the phrase for this email just looks like

Code:
Content visible to verified customers only.
How can I avoid geting the BR's inside the email?
(Version 4.1)
dontom is offline   Reply With Quote
Old January 13th, 2011, 06:20 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 254
Send a message via ICQ to dontom
Hello,

how can i solve this?

Thanks
dontom is offline   Reply With Quote
Old January 13th, 2011, 09:15 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Interesting I do not get that and I am not seeing anywhere in the program that we use convert_returns on an email.

what is the full headers etc on this email?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 13th, 2011, 09:24 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 254
Send a message via ICQ to dontom
-----

Last edited by dontom; January 13th, 2011 at 01:19 PM.
dontom is offline   Reply With Quote
Old January 13th, 2011, 09:46 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I was actually looking for the meta mime line but anyway this line in pp-inc.php you can try commenting out

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 offline   Reply With Quote
Old January 13th, 2011, 01:55 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 254
Send a message via ICQ to dontom
Thumbs up

thanks, that solved it
dontom is offline   Reply With Quote
Old January 13th, 2011, 02:24 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
yeah I will just add that line under the html part
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 13th, 2011, 06:10 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2010
Posts: 21
I am kind of in the same boat on the notifications. It works fine for most but then a number folks are getting the below. I did check and they are running html allowed emails.

Code:
Content visible to verified customers only.
mojoreef is offline   Reply With Quote
Old January 13th, 2011, 06:38 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
http://www.photopost.com/forum/1282445-post9.html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 13th, 2011, 06:40 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2010
Posts: 21
where would I find that peice of code CHuck??

mike
mojoreef is offline   Reply With Quote
Old January 13th, 2011, 06:55 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
That is in the send_ppemail function in pp-inc.php all that info was in the full thread.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 13th, 2011, 07:03 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2010
Posts: 21
I think its already their

Code:
Content visible to verified customers only.
mojoreef is offline   Reply With Quote
Old January 13th, 2011, 08:14 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I am referencing the send_ppemail function in pp-inc.php in classifieds 4.1

The code is most definately not what your posting in pp-inc.php for that function. The line I posted should fix it. here is the full code block with the fix.

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 offline   Reply With Quote
Old January 14th, 2011, 07:05 AM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2010
Posts: 21
Sorry Chuck I am just a little challenged when it comes to code and I dont want to hurt the program. I went through the pp-inc.php looking for what you are referencing. this is what I have found, is this the area you wish for me to replace?

Code:
Content visible to verified customers only.
mojoreef is offline   Reply With Quote
Old January 14th, 2011, 09:34 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Code:
Content visible to verified customers only.
yes that is the line because in the downloaded code instead of \r\n there was $newline and some servers did not like that
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 14th, 2011, 02:10 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2010
Posts: 21
Ok so then you want me to change it from

$headers .= "MIME-Version: 1.0\r\n";


to:

$headers .= "MIME-Version: 1.0$newline";

Is that correct


sorry

mike
mojoreef is offline   Reply With Quote
Old January 14th, 2011, 02:28 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
No Mike I am saying the report I have is the other way around. A user reports that if the code is $newline it doesnt work and the code in the download is newline. I have it in the source as \r\n

You can try either

You can try posting the full headers of the message
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 14th, 2011, 02:31 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2010
Posts: 21
LOL ok then I dont feel so stupid. The code I sent you is what it is already. I am not sure if I should change it as most folks seem to be getting it alright, its just a few that are coming up with what I originally posted


What do you think??

Mike
mojoreef is offline   Reply With Quote
Old January 14th, 2011, 02:49 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well it was as I posted it had newline but only the user who had an issue said the change fixed his.

you can try it with \r\n or with $newline and see what works for you. I do not seem to have any issues with html emails here
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 14th, 2011, 02:50 PM   #20 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2010
Posts: 21
Alright thanks


Mojo
mojoreef is offline   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
html emails not parsed Simka Classifieds Bug Reports 8 January 3rd, 2011 10:15 AM
Notification Emails dknelson Classifieds How do I...? 9 October 16th, 2010 09:07 AM
HTML for recent Photos to another HTML page dwaters Photopost Pro How Do I...? 2 February 13th, 2007 12:59 PM
Either an html page build function, or an html-masking plugin... Khashyar ReviewPost Suggestions 0 July 25th, 2004 12:01 AM


All times are GMT -5. The time now is 06:56 AM.

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