Jump to content

Recommended Posts

Posted (edited)

Doesn't look like there's a lot of info on the board for this, so ...

Here's my code snippet:

$sEmailFrom = "myemail@here.com"
    $sEmailTo = "goingto@somewhereelse.com"
    $sEmailSubject = "test"

    Local $oEmail = ObjCreate("CDO.Message")
    With $oEmail
        .From = $sEmailFrom
        .To = $sEmailTo
        .Subject = $sEmailSubject
    EndWith

For some reason, it results in "error: missing separator character before keyword" on the ".To = " line.  This code was successfully compiling last August, and I haven't touched it since.  I am currently using 3.3.12.

Edited by SlowCoder74

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...