Thread: can't we send email using C ?

  1. #1
    Registered User
    Join Date
    Feb 2014
    Posts
    1

    Lightbulb can't we send email using C ?

    i need to write a simple code to SEND EMAIL using C .
    i searched a lot in internet. But not getting exact STEP-BY-STEP procedure. (even working code is also not available)

    i know socket and format of smtp to send email(MAIL FROM, RCPT TO: -> I KNOW THIS CONCEPT)
    but through telnet i could't send email using SMTP servers of gmail,yahoo etc.(i understood they wont allow us to use their smtp)

    So can anyone help me to program a simple email program! I NEED A STEP-BY-STEP PROCEDURE
    (I HAVE A DOUBT DOES THE PROGRAMMERS can USE "c" CODE TO SEND EMAIL?, OR ALL ARE USING perl or python? )
    Last edited by melviii100; 02-26-2014 at 09:36 AM.

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Do you have a mail server that will accept a request? If so, which part of the procedure failed?

  3. #3
    Registered User
    Join Date
    Jul 2012
    Posts
    51
    Libraries like libcurl make it easy to send email: example.

  4. #4
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    curl ftw

  5. #5

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to send an Email using C/C++
    By harshadura in forum C Programming
    Replies: 13
    Last Post: 08-22-2011, 12:15 AM
  2. how to send email using c
    By moussa in forum C++ Programming
    Replies: 7
    Last Post: 05-28-2008, 08:19 PM
  3. Send email
    By Abda92 in forum Windows Programming
    Replies: 4
    Last Post: 12-29-2007, 09:09 AM
  4. Send email via c++
    By davidboja in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2007, 08:51 AM
  5. How to Send Email
    By sampatel in forum C Programming
    Replies: 1
    Last Post: 11-23-2002, 02:07 PM

Tags for this Thread