8 Replies - 395 Views - Last Post: 06 April 2009 - 09:28 PM Rate Topic: -----

#1 Mujibar  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 13
  • Joined: 18-March 09

Email inputs to inputed address

Post icon  Posted 31 March 2009 - 09:18 PM

Hi there,
I have been working on some code in my spare time. And i was wanting to take the inputted username, password and email address. And send the username + password to the email address.. Below is where i get my username and password etc.

	   newchar:   cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
				  cout<<"Welcome to new character creation.\n";
				  cout<<"Please enter a username for your new character.\n";
				  cin>> username;
						
						outputFile.open("username.txt");						
						outputFile<< username << endl;
						
				  system("quickencrypt-user.exe");
				  
				  cout<<"Hello " << username << ".\nPlease enter a password for your character.\n";
				  cin>> password;
				  
						outputFile2.open("password.txt");		
						outputFile2<< password << endl;
						
				  system("quickencrypt-psswd.exe");
						
				  cout<<"Please enter a valid email address. (Your username and password will be emailed  here)\n";
				  cin>> address

//SENDING OF EMAIL WILL BE DONE HERE

				  cout<<"Thank you. Please wait while we redirect you back to the main menu.\n";\
				  Sleep(2500);
				  cout<<"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
				  goto mainmenu;


What i need help with is how to email the password and username etc to the email address.
Is anybody able to help me here?

This post has been edited by Mujibar: 31 March 2009 - 10:34 PM


Is This A Good Question/Topic? 1

Replies To: Email inputs to inputed address

#2 venkateshps  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 45
  • Joined: 24-March 09

Re: Email inputs to inputed address

Posted 31 March 2009 - 09:47 PM

what help do you need????????
Was This Post Helpful? 0
  • +
  • -

#3 no2pencil  Icon User is online

  • Original Digital Gansta
  • member icon

Reputation: 4463
  • View blog
  • Posts: 24,906
  • Joined: 10-May 07

Re: Email inputs to inputed address

Posted 31 March 2009 - 09:55 PM

@venkateshps: The op posted the question at the end. I'll quote it below.

Quote

The code at the moment is actually missing the get email part. I am still to add that in. Is anybody able to help me here?

Was This Post Helpful? 0
  • +
  • -

#4 Mujibar  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 13
  • Joined: 18-March 09

Re: Email inputs to inputed address

Posted 31 March 2009 - 10:26 PM

View PostMujibar, on 31 Mar, 2009 - 08:18 PM, said:

..... was wanting to take the inputted username, password and email address. And send the username + password to the email address.......


Sorry about the confusion. I am wanting to get a username, password and email address from user. Then email that to the email address. I already can get username, password and email address, i just dont know how to email it to the address. As like what happens with most online games.. Anyone know a way to do this?

*main post updated*

This post has been edited by Mujibar: 31 March 2009 - 10:31 PM

Was This Post Helpful? 0
  • +
  • -

#5 Mujibar  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 13
  • Joined: 18-March 09

Re: Email inputs to inputed address

Posted 02 April 2009 - 10:45 PM

Haha, i just searched on google just now and found this one piece of code that'll work.. The only problem is that it only gives me a 30 day trial. Is anyone aware of some way of sending a email via C++ for free? I dont quite want to pay $180 USD for use of the extra librarys etc needed to do this using the piece of code that i found.
Was This Post Helpful? 0
  • +
  • -

#6 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 5667
  • View blog
  • Posts: 22,511
  • Joined: 23-August 08

Re: Email inputs to inputed address

Posted 03 April 2009 - 04:36 AM

Here you go.
Was This Post Helpful? 0
  • +
  • -

#7 Mujibar  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 13
  • Joined: 18-March 09

Re: Email inputs to inputed address

Posted 03 April 2009 - 10:59 PM

@JackOfAllTrades: thanks. do you know how to run this library? or know of any tutorials i can find for it?
Was This Post Helpful? 0
  • +
  • -

#8 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 5667
  • View blog
  • Posts: 22,511
  • Joined: 23-August 08

Re: Email inputs to inputed address

Posted 04 April 2009 - 07:42 AM

No idea, you'll have to read the docs.
Was This Post Helpful? 0
  • +
  • -

#9 Mujibar  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 13
  • Joined: 18-March 09

Re: Email inputs to inputed address

Posted 06 April 2009 - 09:28 PM

ok. thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1