Mac and Windows Gmail Email Supervised by C Primer Tutorial

Mac Gmail Email Supervised by C Primer Tutorial

Mac Gmail Email Supervised by C Primer Tutorial


Windows Gmail Email Supervised by C Primer Tutorial

Windows Gmail Email Supervised by C Primer Tutorial

Here we have a Windows Visual Studio C(++) session and Mac Xcode C(++) session (not respectively … just so that I can show you this video), each showing a method of sending a Google Gmail ( see Gmail Email Invitation Primer Tutorial ) email via a C program run via calls to the operating system.

Download C programming source code and rename to main.c as required, for a program you might like to call GmailEmailCommandLine maybe, and remember to plugin in your email account and its password where it currently has “rmetcalfe15@gmail.com passwordGoesHere” in the code (for Windows). This code shows cross-platform code so that the different operating system requirements are catered for by the one supervisory C code source ( ever heard of the term codebase? + we not only need to talk about Kevin, we need to talk about source control sometime? ) which can be used on either Xcode for a Mac or Visual Studio for a Windows computer where the Visual Studio C++ project is set up with the same approach as taken in the tutorial Oracle Pro*C Cursor Primer Tutorial to produce a C program.

Download VB.Net programming source code (for a Visual Studio VB.Net Console Application project) and rename to Module1.vb as required, and when compiled, using Visual Studio VB.Net, rename the resultant *.exe to SmtpGmailEmail.exe in the PATH of the computer ( via echo %PATH% (for Windows) or echo $PATH (for Mac Linux Bash) ) for it to be suitable to use with the C program above.

Okay, so that is the C supervisory approach. Alternatively, even easier script operating system supervisory approaches (where the C is no longer needed, but the VB.Net is still needed for Windows) are ( where the file[.nam] supports Subject: To: Cc: Bcc: syntaxes ):

  • rem SmtpGmailEmail.bat for Windows ( placed on PATH ) supervises SmtpGmailEmail.exe ( placed on PATH )
  • rem Usage: SmtpGmailEmail.exe emailer@gmail.com password c:afile.nam [emailto@whatever.huh] [emailcc@whatever.huh] [emailbcc@whatever.huh] [subject words]
  • SmtpGmailEmail.exe %1 %2 %3 %4 %5 %6 %7 %8 %9

    • #!/bin/sh
    • # SmtpGmailEmail.sh for Mac ( placed on PATH and chmod 777 SmtpGmailEmail.sh ) supervises sendmail
    • if [ -f “$2″ ]; then
    • sendmail $1 < $2
    • else
    • echo Usage: $0 emailto@whatever.huh file.nam
    • fi

    Of interest would be smtp protocol information from Wikipedia.

    If this was interesting you may be interested in this too.

    This entry was posted in eLearning, Operating System, Software, Tutorials, Visual Studio, Xcode and tagged , , , , , , , , , , . Bookmark the permalink.

    7 Responses to Mac and Windows Gmail Email Supervised by C Primer Tutorial

    1. Great blog here! Additionally your site rather a lot up fast! What web host are you the use of? Can I get your affiliate link for your host? I desire my site loaded up as fast as yours lol

    2. I actually wanted to develop a brief remark to say thanks to you for some of the great secrets you are giving out at this website. My time consuming internet research has at the end of the day been paid with reputable know-how to write about with my classmates and friends. I β€˜d tell you that many of us site visitors actually are truly blessed to live in a good site with very many brilliant professionals with insightful solutions. I feel truly privileged to have come across your webpage and look forward to many more enjoyable times reading here. Thank you once more for everything.

    3. Enjoyed examining this, very good stuff, thankyou . “Hereafter, in a better world than this, I shall desire more love and knowledge of you.” by William Shakespeare.

    4. Good info and right to the point. I am not sure if this is truly the best place to ask but do you guys have any ideea where to get some professional writers? Thank you :)

    5. Thanks for sharing superb informations. Your site is so cool. I’m impressed by the details that you have on this site. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for extra articles. You, my pal, ROCK! I found just the info I already searched all over the place and just could not come across. What a great website.

    6. I am glad for writing to let you know what a great experience my friend’s daughter experienced reading through your site. She came to understand a good number of pieces, not to mention what it’s like to have an excellent coaching nature to get others effortlessly comprehend a variety of tricky issues. You really exceeded my desires. Thanks for giving these practical, safe, informative and unique tips about the topic to Evelyn.

    7. Thank you for some other wonderful post. The place else may anyone get that type of info in such an ideal method of writing? I have a presentation next week, and I’m on the search for such information.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>