How do I Use Ajax and PHP to send an Email?

Get help using Construct 2

Post » Fri Jul 04, 2014 7:58 pm

Hi Everyone,

I was here lastnight looking through alot of the forums for an example of some kind to show me how to send an email from my game to my email inbox.

I seen a few examples on how to pull up URL using Ajax but i have seen nothing on this site that shows how to actually send an email msg.

Could someone with the knowhow show us the universal way of making this happen? Thanks in advance everyone.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Sat Jul 05, 2014 6:49 am

Anyone? I have not seen much on this topic inside the manual.

I really just need to know how to send an email to myself.Is it possible to do without having to touch complex code??

I want to ask the player to join a mailing list for people that want to stay up to date with the project or future projects.
I figured alot of people would rather do it from a game then to go to an actual website and sign up.
I dont have much programming experience being im a designer but im truly loving this engine.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Sat Jul 05, 2014 4:41 pm

@Ashley or @Tom or @Anyone could i get a hand ?
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Sun Jul 06, 2014 1:04 pm

This forum isn't the right place to ask. It's not anything to do with Construct 2. It's just a straightforward PHP/mail server setup. I'm sure there are lots of guides on the web if you search around, and then it would be better to ask somewhere like stackoverflow.com if you have trouble setting it up.
Scirra Founder
B
397
S
236
G
88
Posts: 24,412
Reputation: 194,516

Post » Sun Jul 06, 2014 5:54 pm

@Ashley Of course it has something to do with construct 2! It is going to be in my game.

I seen tutorials on how to set up high score tables and send information to other websites,I figured it couldnt be much different,But i could be wrong.

Im here asking because i feel like other people would have atleast tried to do it inside the app they are creating.Maybe not.
I am not a coder,I really dont understand alot of it,But i am learning.

@Ashley Will StackOverflow tell me how to set this up through Construct2? Like i was saying in my last msg Im just trying to send a msg from my game to my email.Its for the productivity of my future games.
I understand that PHP might not have anything to do with construct,but if im using it inside my construct 2 application it has alot to do with my project. Im just trying to learn thats all.

Thank you for your reply @Ashley i really appreciate you taking the time from your busy day to reply.I will try and search around on stackoverflow.com.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Mon Jul 07, 2014 1:06 pm

RookieDev wrote:Hi Everyone,

I was here lastnight looking through alot of the forums for an example of some kind to show me how to send an email from my game to my email inbox.

I seen a few examples on how to pull up URL using Ajax but i have seen nothing on this site that shows how to actually send an email msg.

Could someone with the knowhow show us the universal way of making this happen? Thanks in advance everyone.


hi
yes you can send mail from c2 with the help of ajax object and one php file
done successfully for one of my e-learning game.
m sharing with you layout and event code image + php file
hope its helpful . ;)

oops i am not able to upload php doc
not even txt.
post ur id i will mail you.
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 68
Reputation: 561

Post » Mon Jul 07, 2014 3:23 pm

I searching long time a tutorial or example how send email. Maybe someone can make tutorial for this. Its very important to me too.
Ii not a programmer thats why i choose Construct 2.
I think @Ashley can prepare new template with this, that will be delicius
B
110
S
27
G
47
Posts: 1,887
Reputation: 35,799

Post » Tue Jul 08, 2014 5:00 am

@piuuu

Thank you for your reply!

I really would love to see your capX and break down how this works.This is my first time trying to implement this inside of a project.Thank you for your response,I felt kinda dumb after ashley told me to go to another website,i really thought this was a part of construct 2.Im slowly figuring out that some of the things involved with this procedure work with construct,i thought they were things that construct already had implemented out of the box. Thank you @piuuu once again
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Tue Jul 08, 2014 5:33 am

@RookieDev

any time :D
m not able to upload php doc
it redirect me on same page.
give me you id.
B
7
S
1
Posts: 68
Reputation: 561

Post » Tue Jul 08, 2014 7:06 am

@piuuu which id do you mean? i am alittle confused
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Next

Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, ST314 and 18 guests