Database Forum
Web Database Register Members List Calendar FAQ

 
Go Back   Database Forum > PHPMagic Discussions > Customization
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Default sending emails when a new record is entered
02-14-2008, 05:08 AM #1  

Jeffw
Junior Member

 
Status: Offline
Posts: 4
Join Date: Feb 2008

I am new to PHP and PHP magic plus. I have generated a few sample db's and can not figure out how to send an email with the info entered.

Help anyone?
Thank you
Reply With Quote

Default
02-14-2008, 05:27 AM #2  

Kayla
Senior Member

 
Status: Offline
Posts: 302
Join Date: Mar 2005
Location: USA

I just searched this forum and found this thread.
Reply With Quote

Default How do you get the fields to be included
02-14-2008, 05:49 PM #3  

Jeffw
Junior Member

 
Status: Offline
Posts: 4
Join Date: Feb 2008

How do you get the fields to be included
Reply With Quote

Default
02-15-2008, 05:00 AM #4  

Kayla
Senior Member

 
Status: Offline
Posts: 302
Join Date: Mar 2005
Location: USA

Did you get the email notification working. You do not mention that.
Reply With Quote

Default email
02-16-2008, 02:18 AM #5  

Jeffw
Junior Member

 
Status: Offline
Posts: 4
Join Date: Feb 2008

No I have not been able to. I can not figure out where in the page to insert the mail command?
Reply With Quote

Default
02-16-2008, 09:07 AM #6  

Kayla
Senior Member

 
Status: Offline
Posts: 302
Join Date: Mar 2005
Location: USA

Quote:
I can not figure out where in the page to insert the mail command
"you should add this line after the "Insert into .." line;"

Open the relevant table_dmp.php look for the the sql insert into part and insert the mail line right after it. Save it and reupload.

sql("insert into .....;
@mail("your_email_address", "subject", "body text");

Try it
Reply With Quote

Default Thanks, but...
02-17-2008, 03:33 AM #7  

Jeffw
Junior Member

 
Status: Offline
Posts: 4
Join Date: Feb 2008

Thank you so much, I found where to place the code.
How do I add the fields from the db to be listed within the email?
How do I change the from name to my address rather than a long number?

I thank you in advance again. Sorry I take the short buss.
Jeff
Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 05:42 AM.

Powered by: vBulletin Version 3.7.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Database Forums

Help support our forum assistants and product development ->

go to top go to top