CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 how to send email

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
mk_common

Posts: 17
Posted: 07/22/2009, 1:32 AM

please explain some details

warm regards,
mk.

_________________
mk
View profile  Send private message
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
View profile  Send private message
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.... :)
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.