Jump to content
Sign in to follow this  
jbertz

Sendin' Email Help

Recommended Posts

I am new to working in FM7 server with FX.PHP. I am used to Lasso so everything seems different. I am really having a hard time understanding and getting any code to work that would send an email out from a record in a database, with information from the database record embedded in the email.

I am currently editing a record, then bringing the edited record up for display. Once it is brought up for display I want the choice to send the person from that record an email with there edited information. I am having no problem passing the field information through variables, it is getting them from there into a sent email message that is not working for me.

If any one has a working FX.PHP code for this type of situation, I would really appreciate it.

thanks,

jim

Share this post


Link to post
Share on other sites

I don't use FX with FM, however I use php with FM.

To send an email with php you use the "mail()" function. You can construct the email with php. Here is the url to the reference on the php site:

php site

Good Luck.

Garry

Share this post


Link to post
Share on other sites

I have finally got a working code for this situation, if for some reason anybody would need it! jim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.