gleens
Sophomore
Just Getting Started
Member Likes (0)
MarketPress is great, and I have been customising it heavily to suit my needs.
However, one thing I am stuck on is that all emails sent from it are formatted fine EXCEPT for the Confirmation Email sent from the manual payments gateway. It just sends all the details in one long string of text without any line breaks, despite new lines being in the textarea where it is customised.
I've tried hacking it with \r\n but no luck. Does anyone have this issue and a solution please?
Thanks

Responses (14)
Support Kangaroo (joined March 2011) Likes (0)
Greetings gleens,
Welcome to WPMU Dev!
I see where you mentioned trying to hack in \r\n but no luck.
Have you perhaps tried using old school
<br />or in some cases just<br>?Please advise.
Cheers, Joe
Member (joined December 2011) Likes (0)
Hello Joe
Thanks for the quick reply and apologies for my slow response but I've been away.
I've tried your suggestions of both
and
but with no luck. I would imagine this wouldn't work with plain text emails anyway?
I just seems to be this one email that is the issue. I've crawled through the marketpress plugin and it seems to be sending it the same as all the other emails. I'm surprised no on else has reported this as an issue.
Do you have any other suggestions please?
Thank you
Support Kangaroo (joined March 2011) Likes (0)
Greetings gleens,
You are absolutely correct, I gave typical old school html code rather then thinking this was indeed text only. Sorry about that.
To date not that I am aware of, but this gateway is rarely used and most try to automate the best that they can including payment, but to each there own choice :-)
Absolutely now that my mind is sharpened this morning. Please try using just "n"'s or more accurately \n\n - the \r is a windows based switch rather then a php switch.
Please advise.
Cheers, Joe
Member (joined December 2011) Likes (0)
Hello again
Thanks for getting back to me.
I've tried this also, and have also noticed that the shortcode replacement code in marketpress.php also makes use of \n but these too are ignored.
I've tried using chr(13).chr(10) also but with no luck. Also I discovered that stripslashes() was being used on the body of the email in marketpress.php but removing that made no difference.
This is bizarre behaviour, why just this email, it's driving me potty :s
Any other ideas would be greatly appreciated thanks.
Support Kangaroo (joined March 2011) Likes (0)
Greetings gleens,
Thank you for the additional feedback and your patience, they are both greatly appreciated.
I am going to go ahead and see about getting the lead developer of the Market Press plugin in here with his invaluable insight and see what his advice/advise may be so we may resolve this issue.
Though this may take a bit more time then a normal ticket, I will try to get him in here asap.
Note: He returns from vacation on the 10th of July. Hopefully he will have the opportunity to pop in here shortly after that.
Cheers, Joe
Support Kangaroo (joined March 2011) Likes (0)
Greetings gleens,
Just touching base with you to let you know that we have not forgotten about you nor your issue.
Hopefully our lead developer will have whittled down his mountain of tickets and be coming upon this one soon.
Cheers, Joe
Support Kangaroo (joined March 2011) Likes (0)
Greetings gleens,
Thank you for your kind patience, it is greatly appreciated.
Dont go too nuts trying to resolve the issue that I am hoping our lead devloper will have an answer for if it was not indeed fixed in the last release Version 2.6.1 dated 07/13/2012
Can you please confirm or deny the issue has been addressed in the latest release?
Please advise.
Cheers, Joe
Member (joined December 2011) Likes (0)
Hello
Sorry for the late reply I've been on holiday... thank you for the updates, I've not been able to resolve the issue and have not yet installed the latest release but will now give this a try.
I will report back with how I get on in the next few days
Support Kangaroo (joined March 2011) Likes (0)
Greetings gleens,
Thank you for letting us know and we will be here when you are ready.
Look forward to hearing about your results one way or the other, hopefully the way we would like of course :-)
Cheers, Joe
Member (joined December 2011) Likes (0)
Hello Joe
I have installed the new marketpress on a test environment but the issue still persists.
What I have tried though is to revisit your orginal answer using HTML br tags but using str_replace in marketpress.php rather than using them in the store settings where they get stripped out.
This works okay for now but it would be good to have an official fix please
Thanks and please keep me posted
WPMUDEV-ian (joined November 2011) Likes (0)
Hiya !
I have sent another note to our Lead developer Aaron on this one. Thanks a lot for your patience on this thread.
Cheers
PC
Lead Developer (joined May 2009) Likes (0)
I have been unable to recreate your issue unfortunately. Can you try the latest beta, see if it has any affect? Are you running on a windows or linux hosting?
Lead Developer (joined May 2009) Likes (0)
Whoops, attached.
People Person (joined February 2012) Likes (0)
Hi!
Just checking in :)
I'm guessing that because we haven't heard back from you that you've got your issue worked out via live chat or email, or that we have reached the end of our convo here. If you are still having problems or need any other answers on this particular topic please feel free to come back to this thread at anytime. Just be sure to mark it Not Resolved so we don't miss it!
This ticket is only being Resolved due to lack of activity. It is by no means an action to avoid, brush off or minimize your issue. We are ready and here if you want to re-open at any time and I apologize in advance for any lack of communication if this ticket is being closed in error.
Thanks for being part of the WPMU DEV Community!
Best,
Kimberly
Become a member