473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

send mail through smtp

4
hi,

can any one temme how to send mail through SMTp using C++?

it wud be very helpfull if some one can reply me back soon.

thanks,
tika
Apr 20 '07 #1
4 3953
JosAH
11,448 Expert 8TB
hi,

can any one temme how to send mail through SMTp using C++?

it wud be very helpfull if some one can reply me back soon.

thanks,
tika
Either find a library that does the job for you or implement (part of) the SMTP
protocol defined here.

kind regards,

Jos
Apr 20 '07 #2
hi,

can any one temme how to send mail through SMTp using C++?

it wud be very helpfull if some one can reply me back soon.

thanks,
tika
You need library support for basic TCP/UDP protocol, and socket creation.
You can choose either VC++ or GCC compiler that come with winsock library that comes with basics function to support socket programming and IP protocol.

Both platform library functions have beens modeled after BSD socket library so more or less, function's names and prototypes appear similiar in both.
Apr 20 '07 #3
tika
4
You need library support for basic TCP/UDP protocol, and socket creation.
You can choose either VC++ or GCC compiler that come with winsock library that comes with basics function to support socket programming and IP protocol.

Both platform library functions have beens modeled after BSD socket library so more or less, function's names and prototypes appear similiar in both.


hi,

thanks for the help.

am suppose to send a mail that does have the dependecy of configuring imean it should not depend on any mail client.

i need to implement t in eitehr c++ or .net

if some one can help me reg this issue it wud be very helpful for me.
Apr 25 '07 #4
tika
4
hi all,

my requirement is i need to send mail that does not rely on any mail client.
i wrote a code using a Messagin API called MAPI in C++ for which i need to configure outlook and it is dependent on microft outlook an exchange server.
so i should write a code that does on depend on any mail clent so that i can send mail to any userid an domain name or server name.hope am clear enough.
hope some one can help me with this issue as soon as possible.

regards,
tika.
Apr 25 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Edward | last post by:
My computer is at intranet,I want to use following code to realizing function of sending mail.But this program only can send mail between intranet.If I send mail in internet,I need to through proxy...
6
by: erdem kemer | last post by:
i cant send mail to yahoo mail or hotmail while i can send my other mail accounts (pop3) is it becouse yahoo and hotmail is web-based mail here is the code MailMessage mailMsg = new...
4
by: PawelR | last post by:
Hi, everbody. How send e-mail if smtp need authorization. If authorization is not required send email is not problem but I use SmtpMail.Send(myMail) PawelR
2
by: tma | last post by:
Is there a way to send username and passwords to a mail server using code similar to below? My email server requires a username and password to send mail. Private Sub MailError(ByVal...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
1
by: Max | last post by:
hi I used mailmessage object to send the mail, my smtp server don't require authentication, when i try to send the mail it shows error. following is the code to send mail. Dim mymail As New...
3
by: crossroadsk | last post by:
<pre> Hi all, I'm new to Javamail concept and i got the following exceptions when i tried to send a simple mail. First exception is : using java Could not connect to SMTP host:...
7
by: John Drako | last post by:
Currently, I run postfix on my own server to send message from my site (password requests, account activation notices and other messages). I have phpMailer on the server and all the messages...
2
by: btcoder | last post by:
Hi, my jsp page uses sun.net.smtp.SmtpClient to send email. It worked fine until the hosted location was moved to another server. Now it generates the sun.net.smtp.SmtpProtocolException and the...
3
by: Rana Chakra | last post by:
I am trying to send an automatic mail containing the account activation link to the person who is filling up the registration form after he/she clicks on Create account button. But every time it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.