Results 1 to 6 of 6

Thread: Send eMail

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Location
    Anywhere I want to.
    Posts
    172

    Send eMail

    The CDO mail source code I have used in the distant past worked well but not now.

    Is there come code now that will work

    I used to send source code back home while on a trip.
    That way I had full control of compressing and encrypting my code for the trip over the net.

  2. #2
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,448

    Re: Send eMail

    what mail server are you using?
    Sam I am (as well as Confused at times).

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Location
    Anywhere I want to.
    Posts
    172

    Re: Send eMail

    Gmail or Outlook

  4. #4
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,448

    Re: Send eMail

    with gMail, you have to get one of their 16-digit codes to run Less-Secure Apps....see below

    Go to this website for help to set up 16-digit passcode for each app.

    https://myaccount.google.com/apppasswords.
    Above link came from this website:

    https://www.zdnet.com/article/gmail-...y-to-use-them/
    https://support.google.com/accounts/.../6010255?hl=en
    (Copy/paste the path to generate the code)
    Go to Security
    Then select App passwords to generate the code.
    Generate App Password (Must have 2-Step Verification set to ON.)

    Use that password when you set up your gMail login with your program.
    Sam I am (as well as Confused at times).

  5. #5
    Fanatic Member BenJones's Avatar
    Join Date
    Mar 2010
    Location
    Wales UK
    Posts
    715

    Re: Send eMail

    you can also use winsock to send an email you need to look up the smtp docs. i made a simple one years back you can get some ideas from

    https://github.com/Planet-Source-Cod...ender__1-27133

  6. #6
    Frenzied Member VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    1,923

    Lightbulb Re: Send eMail

    It doesn't matter which method you use to implement SMTP (Winsock or CDO or something else). This is an authentication issue and the only solution that works nowadays is to create an "App Password" like Sam described above.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width