 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
January 10th, 2011, 12:11 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Oct 2002 Location: Germany
Posts: 254
| 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)
|
| |
January 13th, 2011, 06:20 AM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Oct 2002 Location: Germany
Posts: 254
|
Hello,
how can i solve this?
Thanks
|
| |
January 13th, 2011, 09:15 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
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?
|
| |
January 13th, 2011, 09:24 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Oct 2002 Location: Germany
Posts: 254
|
-----
Last edited by dontom; January 13th, 2011 at 01:19 PM.
|
| |
January 13th, 2011, 09:46 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 13th, 2011, 01:55 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Oct 2002 Location: Germany
Posts: 254
|
thanks, that solved it
|
| |
January 13th, 2011, 02:24 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
yeah I will just add that line under the html part
|
| |
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.
|
| |
January 13th, 2011, 06:38 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
| |
| |
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
|
| |
January 13th, 2011, 06:55 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
January 13th, 2011, 08:14 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
January 14th, 2011, 09:34 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
January 14th, 2011, 02:28 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
January 14th, 2011, 02:49 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
January 14th, 2011, 02:50 PM
|
#20 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2010
Posts: 21
|
Alright thanks
Mojo
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:56 AM. | |