mk_common
Posts: 17
|
| Posted: 07/20/2009, 7:14 AM |
|
i want to send email when a user click on "ADD" button
i am creating a account form
Name
Address
Phone No
email
send a confirmation email on the email address entered by the user
i am using
smtp.gmail.com
how to set
port, user, password
warm regards,
mk.
_________________
mk |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 07/20/2009, 10:31 AM |
|
Hi
Put your send mail code in the after insert event for the record.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
mk_common
Posts: 17
|
| Posted: 07/22/2009, 1:32 AM |
|
please explain some details
warm regards,
mk.
_________________
mk |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 07/22/2009, 1:36 AM |
|
Ok
Select the record you are adding the record data to
Click on events in the properties box
Select the after insert event
Add Custom code action
Type into the custom code block the email code to send your e-mail
That's it
Easy
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
damian
Posts: 838
|
| Posted: 07/22/2009, 3:12 AM |
|
i think that he is askig how to set the port to gmails secure port and how to do smtp authentication...
i recomend that you get a simple hosted account that ha s a local mail server
plans are as little as $4-5/month
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 07/22/2009, 10:29 AM |
|
Oh. I see.
Well i would expect the documentation for the e-mail method would explain that.
I know PHPMailer and SwiftMailer all have documentation for that.
You could also use the PHP mail() function I think.
Maybe he should reqad the documentation.
You think this might be codebang re-incarnated????
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |