Link to home
Start Free TrialLog in
Avatar of munchun
munchun

asked on

sending email in c

Hi experts,
May I know how to write a program in standard c to connect to an email server and send out the email?
Thks.
ASKER CERTIFIED SOLUTION
Avatar of foreverfresh
foreverfresh
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What compiler are you using to compile that?
Avatar of munchun
munchun

ASKER

I am using gcc to compile the program. Actually now i found out that i can use the mailx to send the email. However i don't know how to configue to make it work. For example where should I configure for the my email server address ?
Hi munchun,
you can use this function for send e-mail.
you can compile this source code with gcc