xeonman13 Posted April 16, 2004 Share Posted April 16, 2004 Hello, I am trying to have an email sent when someone inserts a record. In the email I would like to have some database entries. (info pulled from the database) What is the least expensive and simplest solution? Please help Quote Link to comment https://forums.phpfreaks.com/topic/1795-send-an-email-during-an-insert-record-action/ Share on other sites More sharing options...
homchz Posted April 16, 2004 Share Posted April 16, 2004 I think this extension could be set up to do that not cheap but easy. http://www.dmxzone.com/showDetail.asp?TypeId=3&NewsId=5628 I think you can set it up to deliver on submit and you could enter database information to display in the mail. They have an okay support forum be sure to ask question be fore you buy, I use it but not for your funtion, and I only think it will work. I am sure there is a Send mail sript out there that can do the same but will take some time to code. Quote Link to comment https://forums.phpfreaks.com/topic/1795-send-an-email-during-an-insert-record-action/#findComment-5885 Share on other sites More sharing options...
AndyB Posted April 16, 2004 Share Posted April 16, 2004 What is the least expensive and simplest solution? In the SAME script as is used to add information to the database, you can include some additional code to retrieve information from the database, create whatever text with it you want, and use php's mail() function to send an e-mail or e-mails to whomever you want. Total cost = $0. Quote Link to comment https://forums.phpfreaks.com/topic/1795-send-an-email-during-an-insert-record-action/#findComment-5888 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.