leony Posted August 8, 2008 Share Posted August 8, 2008 Hello, I would like to email my shopping cart contents when it is requested. However, I am not sure how to do it effectively. Some things i have considered: 1) To convert html code(shopping cart) to pdf on the fly ( I am not sure how to do that without extensive php skiils), attach the pdf and mail it (using php built in functions if there is any) 2) Simply email the html code using the basic mail() function. However I am not sure that how the html content will be displayed by different email providers. (yahoo, hotmail etc) 3) Your suggestions? Basically I want something simply and looks good. Thanks for your help Quote Link to comment https://forums.phpfreaks.com/topic/118794-email-shopping-cart-contents/ Share on other sites More sharing options...
severndigital Posted August 8, 2008 Share Posted August 8, 2008 phpMailer http://phpmailer.codeworxtech.com just implement a function that outputs the cart contents and let phpmailer do the rest. Quote Link to comment https://forums.phpfreaks.com/topic/118794-email-shopping-cart-contents/#findComment-611641 Share on other sites More sharing options...
leony Posted August 8, 2008 Author Share Posted August 8, 2008 Hi, Thank you for the reply. I dont think that my hosting company would allow me to install programs. Quote Link to comment https://forums.phpfreaks.com/topic/118794-email-shopping-cart-contents/#findComment-611649 Share on other sites More sharing options...
leony Posted August 8, 2008 Author Share Posted August 8, 2008 Hi, Thank you for the reply. I dont think that my hosting company would allow me to install programs. Sorry I think that is a php class, so that I will just put it on the server and include it. correct? Quote Link to comment https://forums.phpfreaks.com/topic/118794-email-shopping-cart-contents/#findComment-611654 Share on other sites More sharing options...
DarkWater Posted August 8, 2008 Share Posted August 8, 2008 Indeed, leony. Quote Link to comment https://forums.phpfreaks.com/topic/118794-email-shopping-cart-contents/#findComment-611659 Share on other sites More sharing options...
severndigital Posted August 8, 2008 Share Posted August 8, 2008 yes correct. it is a very simple implentation, however the included examples can seem a bit confusing. once it is in, it works very well. at least in my applications for it. Quote Link to comment https://forums.phpfreaks.com/topic/118794-email-shopping-cart-contents/#findComment-611660 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.