Giter Site home page Giter Site logo

Comments (4)

FedericoCeratto avatar FedericoCeratto commented on July 18, 2024

Please provide more detailed information: SMTP URL, general Cork configuration, logs from your MTA, error messages.

from bottle-cork.

icfixx avatar icfixx commented on July 18, 2024

simple_webapp.py
....

Use users.json and roles.json in the local example_conf directory

aaa = Cork('example_conf', email_sender='[email protected]', smtp_server='smtp.gmail.com')

here is the output

Bottle v0.11.6 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8080/
Hit Ctrl-C to quit.

1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:13] "GET / HTTP/1.1" 303 0
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:13] "GET /login HTTP/1.1" 200 1913
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:13] "GET /favicon.ico HTTP/1.1" 404 742
localhost - - [2013-07-02 22:55:33,427] Sending email using smtp.gmail.com
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:33] "POST /register HTTP/1.1" 200 26
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:33] "GET /favicon.ico HTTP/1.1" 404 742

I do not receive any email, I am running a OS X, Mountain Lion, also tried enabling the SMTP service, and changing the smtp_server to localhost, and still no emails.

but I did get a success using the
python smtps.py

which intercept all smtp calls and shows them to the screen, but still do not get an email at gmail( also checked the spam folder)

Sincerely,
Kris

from bottle-cork.

icfixx avatar icfixx commented on July 18, 2024

Sorry,

I am still new to Cork and pyBottle and github, I am not sure you received
my responce on github
Here is my response,

simple_webapp.py
....
Use users.json and roles.json in the local example_conf directory

aaa = Cork('example_conf', email_sender='[email protected]', smtp_server='
smtp.gmail.com')
here is the output

Bottle v0.11.6 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8080/
Hit Ctrl-C to quit.

1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:13] "GET / HTTP/1.1" 303 0
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:13] "GET /login HTTP/1.1" 200
1913
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:13] "GET /favicon.ico
HTTP/1.1" 404 742
localhost - - [2013-07-02 22:55:33,427] Sending email using smtp.gmail.com
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:33] "POST /register HTTP/1.1"
200 26
1.0.0.127.in-addr.arpa - - [02/Jul/2013 22:55:33] "GET /favicon.ico
HTTP/1.1" 404 742

I do not receive any email, I am running a OS X, Mountain Lion, also tried
enabling the SMTP service, and changing the smtp_server to localhost, and
still no emails.

but I did get a success using the
python smtps.py

which intercept all smtp calls and shows them to the screen, but still do
not get an email at gmail( also checked the spam folder)

Sincerely,
Kris

On Tue, Jul 2, 2013 at 5:21 AM, Federico Ceratto
[email protected]:

Please provide more detailed information: SMTP URL, general Cork
configuration, logs from your MTA, error messages.


Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-20335240
.

from bottle-cork.

FedericoCeratto avatar FedericoCeratto commented on July 18, 2024

Looks like you sent an email to smtp.gmail.com (not localhost). Check Gmail's policies and anti-spam restrictions - they might be dropping emails sent using SMTP (especially if it's not authenticated).
You can also try using your ISP SMTP relay if there's one.

from bottle-cork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.