email work in 4.0?

Post Reply
Message
Author
winger
Posts: 105
Joined: Sun Mar 24, 2013 5:36 am

email work in 4.0?

#1 Post by winger » Wed Apr 03, 2013 1:50 pm

I am trying to get 4.0 to send email, but have been unable to. It worked for me at 3.9.

At 4.0 I get an error:
Error Sending email - The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. h9sm3550960obg.14 - gsmtp -

Has anyone sucessfully sent email from 4.0 or is something wroing with my setup?

User avatar
Mat
Posts: 501
Joined: Thu Aug 09, 2012 2:35 pm
Location: UK

Re: email work in 4.0?

#2 Post by Mat » Wed Apr 03, 2013 3:03 pm

Hi Winger,

Worked for me on both Hotmail and Gmail

winger
Posts: 105
Joined: Sun Mar 24, 2013 5:36 am

Re: email work in 4.0?

#3 Post by winger » Thu Apr 04, 2013 8:31 pm

I started from scratch and now the email is working.

winger
Posts: 105
Joined: Sun Mar 24, 2013 5:36 am

Re: email work in 4.0?

#4 Post by winger » Fri Apr 05, 2013 6:55 am

I got email to work with osa scripting.

Now I am trying to switch to use powershell. My speech works, but email does not. Here are the commands:

osa:Email.Run Method.Send Email.myemail@gmail.com,"Toaster off"
works.

powershell:invoke-osa -name "Email" -Method "Send" -parameter1 "myemail@gmail.com" -parameter2 "System armed"
dose not work.

Power shell log:
04/05/2013 09:40:16.079 AM - running script: invoke-osa -name "Email" -Method "Send" -parameter1 "myemail@gmail.com" -parameter2 "System armed"
invoke-osa -name "Speech-Mark-Netbook" -method "Say" -parameter1 "Security system On"

04/05/2013 09:40:16.699 AM - Invoke-OSA - ProcessRecord - Started
04/05/2013 09:40:16.749 AM - Invoke-OSA - ProcessRecord - Started
04/05/2013 09:40:16.854 AM - Script return:
True
True

The OSA service shows this for the one that works:
04/05/2013 09:34:22.749 AM - Method in Queue, ObjectName: Email MethodName: SEND EMAIL
04/05/2013 09:34:22.779 AM - Sending message to clients: LOG - found method in queue: Email(SEND EMAIL) p1: myemail.com p2: Toaster off
04/05/2013 09:34:22.819 AM - Found method in queue: SEND EMAIL
04/05/2013 09:34:22.849 AM - Message sent to client: WCF.OSAEWCFMessage
04/05/2013 09:34:22.874 AM - -- object name: Email
04/05/2013 09:34:22.899 AM - -- param 1: myemail@gmail.com
04/05/2013 09:34:22.924 AM - -- param 2: Toaster off
04/05/2013 09:34:22.954 AM - -- object owner:
04/05/2013 09:34:22.979 AM - Removing method from queue with ID: 393

But I do not see the method in queue for the email from powershel.

winger
Posts: 105
Joined: Sun Mar 24, 2013 5:36 am

Re: email work in 4.0?

#5 Post by winger » Sat Apr 06, 2013 8:43 pm

I got email to work in power shell. The method was wrong. I was trying to use "Send" but needed to use "Email Send".

No errors show up in any logs I can find to indicate why it didnt work.

Post Reply