You are viewing our Forum Archives. To view or take place in current topics click here.
[WEB] Automatic Mailing System
Posted:

[WEB] Automatic Mailing SystemPosted:

MX
  • Christmas!
Status: Offline
Joined: Jan 10, 201410Year Member
Posts: 1,896
Reputation Power: 233
Status: Offline
Joined: Jan 10, 201410Year Member
Posts: 1,896
Reputation Power: 233

Hey guys, I was wondering if anyone knows how I would implement an auto mailing system into my website. Once a person has ordered I would like it to send them an email containing there virtual item.

The other thing I need is to be able to generate a random item. When somebody purchases from my site, I need it to do like a lucky dip and select a random item. It will then need to contain this item in the email! If your familiar with Modding then you will have seen automatic KV selling sites, I would need something like this but instead of a link to a KV it needs to be a random item from a list i provide.

This probably doesn't make sense but I can explain in more detail if required!

#2. Posted:
SwerveLobbies
  • Resident Elite
Status: Offline
Joined: Apr 06, 201113Year Member
Posts: 279
Reputation Power: 12
Status: Offline
Joined: Apr 06, 201113Year Member
Posts: 279
Reputation Power: 12
I would be more than happy to help
#3. Posted:
Wilez
  • TTG Addict
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 2,192
Reputation Power: 99
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 2,192
Reputation Power: 99
You could use something that generates a random number (php: rand())
That could then be used corresponding to an ID (each item has ID)
All of which could be pulled from a database before sending the email.
#4. Posted:
MX
  • Supporter
Status: Offline
Joined: Jan 10, 201410Year Member
Posts: 1,896
Reputation Power: 233
Status: Offline
Joined: Jan 10, 201410Year Member
Posts: 1,896
Reputation Power: 233
Wilez wrote You could use something that generates a random number (php: rand())
That could then be used corresponding to an ID (each item has ID)
All of which could be pulled from a database before sending the email.

Yes this is the kind of thing I was looking for, I have seen things like automatic CD Key sites where as soon as you buy you are emailed a code from there database. The next thing I would need is for it too be a random ID and not just any ID. Are there any tutorials on or about this?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.