Help Sending Email Through C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2009
Posts: 4
Reputation: Doomreaper is an unknown quantity at this point 
Solved Threads: 0
Doomreaper Doomreaper is offline Offline
Newbie Poster

Help Sending Email Through C++

 
0
  #1
Sep 14th, 2009
Hello I come to you today with a question i have not been able to find answer to this anywhere on the internet.

I want to be able to send an Email through a Gmail account Using C++. And i cannot be persuaded to move to a different language to accomplish my goal.

All help will be enormously gratifying.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Help Sending Email Through C++

 
0
  #2
Sep 14th, 2009
> And i cannot be persuaded to move to a different language to accomplish my goal.
Why not?
Being good at s/w is being able to recognise the best tool for the job.

There's probably a dozen RFCs you have to wade through if you insist on doing it all yourself from scratch.

It's your choice, but don't expect to be able to find a handy solution you can crib from, nor expect to be finished any time soon.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 4
Reputation: Doomreaper is an unknown quantity at this point 
Solved Threads: 0
Doomreaper Doomreaper is offline Offline
Newbie Poster

Re: Help Sending Email Through C++

 
0
  #3
Sep 15th, 2009
i am working on a project and i am mostly the way through it already but the only thing i need to know is how to email in C++ i am not going to disclose any information about the product because it will hopefully bring me a good amount of money it was all going well until i hit this brick wall. Please dont judge me i just need this one thing.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 3
Reputation: dgirdhar is an unknown quantity at this point 
Solved Threads: 2
dgirdhar dgirdhar is offline Offline
Newbie Poster

Re: Help Sending Email Through C++

 
0
  #4
Sep 15th, 2009
I am not sure about my solution but I can give you one direction to look for. Actually I tried earlier but I was not able complete that.

You can check any web services offered by google gmail. If web-service is available then you can generate c++ code using gsoap tool and send request to gmail server for sending mails.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 4
Reputation: Doomreaper is an unknown quantity at this point 
Solved Threads: 0
Doomreaper Doomreaper is offline Offline
Newbie Poster

Re: Help Sending Email Through C++

 
0
  #5
Sep 15th, 2009
thank you i will have try that out i will reply whether it worked or not when i get the chance
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 4
Reputation: hrafnk2009 is an unknown quantity at this point 
Solved Threads: 1
hrafnk2009 hrafnk2009 is offline Offline
Newbie Poster

Re: Help Sending Email Through C++

 
0
  #6
Sep 15th, 2009
Hi

I was just wondering if you can use code that supports POP3. It might be easier to find that on the web. If I am right I think gmail supports POP3. I did some c++ code long time ago to send emails through POP3 with SMTP. Not sure if I can dig it up but you might want to consider POP3 and SMTP in your research.

Regards, Hrafnkell
Last edited by hrafnk2009; Sep 15th, 2009 at 1:11 pm. Reason: spelling error
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 12
Reputation: krellor is an unknown quantity at this point 
Solved Threads: 0
krellor krellor is offline Offline
Newbie Poster

Re: Help Sending Email Through C++

 
0
  #7
Sep 15th, 2009
Why can't you just write the email call from a more suitable language and invoke it from your existing c++ code? Basically make a nice little API for yourself?
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,411
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 114
Sponsor
William Hemsworth William Hemsworth is online now Online
Nearly a Posting Virtuoso

Re: Help Sending Email Through C++

 
0
  #8
Sep 15th, 2009
What's the big deal? If you just use a library, it's easy. [link]
This worked perfectly for me, and there's plenty more out there.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 4
Reputation: Doomreaper is an unknown quantity at this point 
Solved Threads: 0
Doomreaper Doomreaper is offline Offline
Newbie Poster

Re: Help Sending Email Through C++

 
0
  #9
Sep 16th, 2009
thank you this library will be very helpful to me i will try it out and IF it works this will be solved
Last edited by Doomreaper; Sep 16th, 2009 at 12:13 pm. Reason: messed up tags
Reply With Quote Quick reply to this message  
Reply

Tags
c++, email, gmail, send

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC