Jump to content


Photo

Send an email during an insert record action


  • Please log in to reply
2 replies to this topic

#1 xeonman13

xeonman13
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 16 April 2004 - 01:51 PM

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

#2 homchz

homchz
  • Members
  • PipPipPip
  • Advanced Member
  • 93 posts
  • LocationLee, New Hampshire

Posted 16 April 2004 - 02:25 PM

I think this extension could be set up to do that not cheap but easy.

http://www.dmxzone.c...d=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.



#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 16 April 2004 - 08:21 PM

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.
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users