Google Outgoing mail server setup issue

I am running erpnext v4 in virtual box, when I am trying to set the outgoing mail server setup in localhost, I got error like this
Traceback (innermost last):
File “/home/erpnext/frappe-bench/apps/frappe/frappe/widgets/form/”, line 18, in savedocs
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/”, line 183, in save
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/”, line 430, in run_before_save_methods
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/”, line 412, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/”, line 493, in composer
return composed(self, method, *args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/”, line 476, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/erpnext/frappe-bench/apps/frappe/frappe/model/”, line 406, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/core/doctype/outgoing_email_settings/”, line 29, in validate
sess = smtpserver.sess
File “/home/erpnext/frappe-bench/apps/frappe/frappe/utils/email_lib/”, line 96, in sess
(self.password or “”).encode(‘utf-8’))
File “/usr/lib/python2.7/”, line 613, in login
raise SMTPAuthenticationError(code, resp)
SMTPAuthenticationError: (534, ‘5.7.14 Please log in via your web browser and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 Check Gmail through other email platforms - Gmail Help cp11sm4731693pac.28 - gsmtp’)
Please kindly someone help me…

Edit: Please don’t use titles like Urgent get attention of the community.

The link for downloading back up database which i got through my mail Id by erpnext version-4 is not opening at all. link is http://erpnext.erpnext-vm/backups/20160727_80023895_database.sql.gz

@rmehta I am waiting for your valuable reply

For Linux: use gunzip

gunzip database_name.sql.gz

If you are using Windows - You may use GUI archivers such as 7-Zip to unzip database backup.

@sunilsrikumar I already unzipped my database. I want to download those database and files from Virtual machine to local machine. Please help me.

You can use SFTP to download files from Virtual Machine to local machine & Vice versa. Detailed description is available here:
How To Use SFTP to Securely Transfer Files with a Remote Server | DigitalOcean

We should be proud of living in Google era where almost everything is available at fingertips.:smiley:
I would encourage users to go Googling.

1 Like