AntD Posted July 9, 2003 Share Posted July 9, 2003 Please can someone tell me how to get an email send to my inbox with all info once a user has registered on my site. At present (running latest vers) only an email is send out to the user. However, i need an email that will give me details on all the users info that was filled out in the form to be kept for my records. It seems to only add the users info to the database. Oh yeah, while i'm at it, is there also a way to send another email to me once a user has changed or updated his/her settings after registering. Thanx a mill! Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2003 Share Posted July 10, 2003 In create_account.php, you can either edit this line to include your email address: tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); or you can add another tep_mail command, changing $name and $email_address to values that are appropriate. Good luck, Matt Link to comment Share on other sites More sharing options...
AntD Posted July 10, 2003 Author Share Posted July 10, 2003 Thanx for the info, but will this send all users info to my email address or just Name and email. I need all info that appears on the form to be sent to me. Thanx! Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2003 Share Posted July 10, 2003 It will send you whatever is in $email_text. If you need more information, you should add it to $email_text before calling this. If you use two separate calls, you could add additional information in between the calls, e.g. $email_text .= "An account detail: " . $variable_that_holds_it . "n"; Hth, Matt Link to comment Share on other sites More sharing options...
AntD Posted July 12, 2003 Author Share Posted July 12, 2003 Great thanx, i will try it out :) Link to comment Share on other sites More sharing options...
AntD Posted July 12, 2003 Author Share Posted July 12, 2003 Me again, ok, i was able to send all info i need on the customer to their email address - which is great, the only other prob i'm having is sending the email to my email address as well.. sort off like a cc to me. I've tried adding my email but still i only receive the email that is initially send to the customer thanking them for joining. Sorry, :oops: still a bit of a newbe to php so if anyone can help me or let me know where i can change or add my email address, and how - it will be much appreciated. Link to comment Share on other sites More sharing options...
AntD Posted July 12, 2003 Author Share Posted July 12, 2003 Never mind people! thanx to this greate post http://www.oscommerce.com/forums/viewtopic.php?t=48990 my problem is solved :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.