Mister Denial Posted August 11, 2012 Share Posted August 11, 2012 Hello, is there a way to add a default subject line when creating a new email by clicking on the customer's email in the order details of the BO? Not the form, but really by clicking on the email, and using your own email client. I know there is a way to add a subject line to the mailto parameter, but where to find it in the PS code? That would be a huge time-saver for me, so your help is much appreciated! All the best, Dan Link to comment Share on other sites More sharing options...
phrasespot Posted August 15, 2012 Share Posted August 15, 2012 Locate /renamed_admin_dir/tabs/AdminOrders.php. Find the line: (<a href="mailto:'.$customer->email.'">'.$customer->email.'</a>)'; Replace it with: (<a href="mailto:'.$customer->email.'?subject=A%20subject%20with%20spaces">'.$customer->email.'</a>)'; Or one with the message body too: (<a href="mailto:'.$customer->email.'?subject=A%20subject%20with%20spaces&body=First%20line%20of%20body%0D%0ASecond%20line%20of%20body">'.$customer->email.'</a>)'; encode spaces as %20 and line breaks as %0D%0A 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now