943,911 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 6076
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Sep 14th, 2009
1

Help Sending Email Through C++

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Doomreaper is offline Offline
4 posts
since Sep 2009
Sep 14th, 2009
0

Re: Help Sending Email Through C++

> 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.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Sep 15th, 2009
0

Re: Help Sending Email Through C++

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Doomreaper is offline Offline
4 posts
since Sep 2009
Sep 15th, 2009
0

Re: Help Sending Email Through C++

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.
Reputation Points: 10
Solved Threads: 3
Newbie Poster
dgirdhar is offline Offline
7 posts
since Sep 2009
Sep 15th, 2009
0

Re: Help Sending Email Through C++

thank you i will have try that out i will reply whether it worked or not when i get the chance
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Doomreaper is offline Offline
4 posts
since Sep 2009
Sep 15th, 2009
0

Re: Help Sending Email Through C++

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
Reputation Points: 10
Solved Threads: 2
Newbie Poster
hrafnk2009 is offline Offline
4 posts
since Sep 2009
Sep 15th, 2009
1

Re: Help Sending Email Through C++

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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
krellor is offline Offline
12 posts
since Dec 2008
Sep 15th, 2009
1

Re: Help Sending Email Through C++

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.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008
Sep 16th, 2009
0

Re: Help Sending Email Through C++

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Doomreaper is offline Offline
4 posts
since Sep 2009
Sep 13th, 2010
0
Re: Help Sending Email Through C++
hi, I know this thread is very old,I came here to dig the thread,
and I want to acknowledge all that link is now not working.
Please be kind enough to update that link again .
Reputation Points: 86
Solved Threads: 43
Posting Pro
NicAx64 is offline Offline
532 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: congestion control concurrent queue
Next Thread in C++ Forum Timeline: I need help for GCD .





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC