Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Outlook365
Anybody have any luck interfacing with outlook365?
The code below fails due to authentication. Any suggestions?
The code below fails due to authentication. Any suggestions?
COMPILE FUNCTION srp_outlook365( void )
$INSERT SRPMAIL_INSERTS
Message = ""
Message<1> = "Subject Line"
Message<2> = "helpdesk@powerforcesoftware.com" ; // : SENDER
Message<3> = "helpdesk" ; // : RECIPIENTS
* Message<4 : CC> = ""
* Message<5 : BCC> = ""
Message<6> = "" ; // : REPLYTO
Message<7> = "HTML" ; // : MODE
Message<8> = "Hello World!" ; // : BODY
Message<9> = "" ; // : ATTACHMENT
Message<10> = SRPMail_Importance_Normal$ ; // : 1
configfile = ""
configfile<1> = SendUsing_Port$ ; // Equ SendUsing_Port$ TO 2
configfile<3> = 587
configfile<4> = "filter.xxxxxx-1.mailguard.com.au"
configfile<4> = "smtp-mail.outlook.com"
configfile<5> = 1
configfile<6> = "myname.surname@gmail.com"
configfile<7> = "ikitaz18"
configfile<8> = "TLS"
////////////////////////////////////////////////////////////////////////////////
// port 25, TLS -> The STARTTLS command is not supported by the server
////////////////////////////////////////////////////////////////////////////////
// configfile<8> = "SSL" ; // There was a problem communicating via SSL/TLS
debug
retval = srp_send_mail(Message, ConfigFile)
Comments
I have not, but if Office 365 supports 3rd party clients to send out SMTP emails, this should work. Where are you getting your configuration information from? This link suggests the URL is smtp.office365.com.
Good pickup.
Alas, changed but no better result
http://forums.devshed.com/visual-basic-programming-52/outlook365-com-sending-email-963102.html
First, I don't think I would trust any code that a guy with that avatar would post. :)
Second, can you confirm the version of the SRP Mail Utility you are using?
Finally, hate to ask you to suck eggs, but are you sure all of your account names and passwords are correct?
Second. Stand by and I'll find out.
Finally, happy to suck eggs; it's the only way you find the bad ones.
That said, I'm not sure of anything. I believe it works via a browser so the password is correct.