Saiv Posted September 28, 2013 Share Posted September 28, 2013 Hi, <a href=mailto:abc@gmail.com?body=hai every body&cc=aa@gmail.com&subject=Letter&body=This is the body content>Link</a></td> Here I have already a signature in outlook page, but when I added body in coding it is not displaying . Pleae tell me the solution. Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/ Share on other sites More sharing options...
Saiv Posted September 28, 2013 Author Share Posted September 28, 2013 How to insert a table in the bodycontent of mail to option using PHP ? Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/#findComment-1451516 Share on other sites More sharing options...
trq Posted September 28, 2013 Share Posted September 28, 2013 Your question / problem is about as clear as mud. Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/#findComment-1451519 Share on other sites More sharing options...
axxo1 Posted September 28, 2013 Share Posted September 28, 2013 Hi Saiv, Can you try to elaborate your question? You want to insert an HTML table in the body of an email sent via PHP mail()? Is that it? Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/#findComment-1451520 Share on other sites More sharing options...
Ch0cu3r Posted September 28, 2013 Share Posted September 28, 2013 The spaces in body is breaking the mailto: clause You need wrap the value of the href attribute in quotes. <a href="mailto:abc@gmail.com?body=hai every body&cc=aa@gmail.com&subject=Letter&body=This is the body content">Link</a></td> Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/#findComment-1451529 Share on other sites More sharing options...
cyberRobot Posted September 30, 2013 Share Posted September 30, 2013 Also note that "body" appears twice. The first reference "body=hai every body" won't be used. Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/#findComment-1451795 Share on other sites More sharing options...
Saiv Posted October 1, 2013 Author Share Posted October 1, 2013 Actually I already having outlook signature, when I added body content in outlook using php, the signature will vanish, y like this? Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/#findComment-1451982 Share on other sites More sharing options...
Ch0cu3r Posted October 1, 2013 Share Posted October 1, 2013 Because the body= part will override the signature you have defined in Outlook. You'll have to add the signature in manually. The mailto: clause can only set the recipients address(s), bcc/cc address(s), subject and the body. It can't do advanced features like adding signatures you have defined in your email client. That you'll have to do manually before clicking send. Quote Link to comment https://forums.phpfreaks.com/topic/282496-mail-to-option-in-php/#findComment-1451994 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.