[gnome-online-accounts] google, live: Set smtp-auth-xoauth2 to TRUE



commit 09485daf5ed51dae213d10965607d63706ca1578
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Feb 3 15:04:50 2014 +0100

    google, live: Set smtp-auth-xoauth2 to TRUE
    
    Fixes: https://bugzilla.gnome.org/720262

 src/goabackend/goagoogleprovider.c      |    3 ++-
 src/goabackend/goawindowsliveprovider.c |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/goabackend/goagoogleprovider.c b/src/goabackend/goagoogleprovider.c
index 8ce6095..e547d97 100644
--- a/src/goabackend/goagoogleprovider.c
+++ b/src/goabackend/goagoogleprovider.c
@@ -1,6 +1,6 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
- * Copyright (C) 2011, 2012, 2013 Red Hat, Inc.
+ * Copyright (C) 2011, 2012, 2013, 2014 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -366,6 +366,7 @@ build_object (GoaProvider         *provider,
                         "smtp-host",       "smtp.gmail.com",
                         "smtp-user-name",  email_address,
                         "smtp-use-auth",   TRUE,
+                        "smtp-auth-xoauth2", TRUE,
                         "smtp-use-tls",    TRUE,
                         NULL);
           goa_object_skeleton_set_mail (object, mail);
diff --git a/src/goabackend/goawindowsliveprovider.c b/src/goabackend/goawindowsliveprovider.c
index 3175796..25cece4 100644
--- a/src/goabackend/goawindowsliveprovider.c
+++ b/src/goabackend/goawindowsliveprovider.c
@@ -1,6 +1,6 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
- * Copyright (C) 2011, 2012, 2013 Red Hat, Inc.
+ * Copyright (C) 2011, 2012, 2013, 2014 Red Hat, Inc.
  * Copyright (C) 2011 Collabora Ltd.
  *
  * This library is free software; you can redistribute it and/or
@@ -354,6 +354,7 @@ build_object (GoaProvider         *provider,
                         "smtp-host",       "smtp-mail.outlook.com",
                         "smtp-user-name",  email_address,
                         "smtp-use-auth",   TRUE,
+                        "smtp-auth-xoauth2", TRUE,
                         "smtp-use-tls",    TRUE,
                         NULL);
           goa_object_skeleton_set_mail (object, mail);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]