Forum: Typo Typo Blog eMail Notification

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8ddb7e050630225704ee5b628235c5f5?d=identicon&s=25 Fabiano Francesconi (Guest)
on 2010-04-10 12:36
(Received via mailing list)
Hello guys,
I'd like to setup typo blog to send mail notification whenever an user
posts a comment.

I guess there's something unclear around this topic since I can't find
an official documentation explaining how really does work email
notification.

However, the things are:
* Can Typo send a notification to me (the blog-maintainer) when an user
posts a comment?
* Can Typo send a notification to every user that had commented some
blog-post when another user (or me) reply to the same post?
* Does typo allow users to subscribe to comments or new articles?
* Can I set typo to use my gmail account to send emails?

I'm sorry if there's a page that explain this but I can't find it.

Thank you
9e36aeb20f1b4a763043d3ce4942b454?d=identicon&s=25 Jonas Elfström (Guest)
on 2010-04-15 14:05
(Received via mailing list)
On Sat, Apr 10, 2010 at 12:36 PM, Fabiano Francesconi
<fabiano.francesconi@gmail.com> wrote:
> * Can Typo send a notification to me (the blog-maintainer) when an user
> posts a comment?

Another solution is to subscribe to your comments feed in Google Reader.
At least in older versions of Typo you could find it at
http://yoursite.com/xml/rss20/comments/feed.xml
700f9a3b883e6a04d018f48290b1a3fd?d=identicon&s=25 de Villamil Frédéric (Guest)
on 2010-04-15 14:57
(Received via mailing list)
Le 15 avr. 2010 à 13:42, Jonas Elfström a écrit :

> On Sat, Apr 10, 2010 at 12:36 PM, Fabiano Francesconi
> <fabiano.francesconi@gmail.com> wrote:
>> * Can Typo send a notification to me (the blog-maintainer) when an user
>> posts a comment?
>
> Another solution is to subscribe to your comments feed in Google Reader.
> At least in older versions of Typo you could find it at
> http://yoursite.com/xml/rss20/comments/feed.xml


Hello,

Didn't see that thread sorry.
Just go into the admin, edit your profile, chose to be notified when
someone is posting a comment, save.

And you're done.

In the future, I'll make this mandatory for every admin and publisher
user.

Regards,
Frédéric

--
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player
proverb
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://t37.net                       Typo : http://typosphere.org
8ddb7e050630225704ee5b628235c5f5?d=identicon&s=25 Fabiano Francesconi (Guest)
on 2010-04-15 15:15
(Received via mailing list)
On Thu, Apr 15, 2010 at 02:39:17PM +0200, de Villamil Frédéric wrote:
> > http://yoursite.com/xml/rss20/comments/feed.xml
>
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

Kind of blind, here. eheh.
Thanks for pointing that out.

I've marked two checkboxes: "Send notification messages via email" and
"Send notification messages when comments are posted".

My email address is set into User's settings section; into Settings →
Feedback → Source Email there's my mailbox (the same that's into User's
settings page).

Still cannot receive emails.

I tried to take a look at the logs and the only line that makes me
suspicious is the following one:

[SP] Scanning IP 192.168.0.254
Sent mail to
Completed in 1534ms (View: 50, DB: 60) | 200 OK

There's my LAN IP (and that's ok); the second lines shows an incomplete
line (for how I see it). Seems like my email address isn't read from the
db.
700f9a3b883e6a04d018f48290b1a3fd?d=identicon&s=25 de Villamil Frédéric (Guest)
on 2010-04-15 16:12
(Received via mailing list)
Le 15 avr. 2010 à 15:07, Fabiano Francesconi a écrit :

>>> At least in older versions of Typo you could find it at
>> In the future, I'll make this mandatory for every admin and publisher user.
>> _______________________________________________
> My email address is set into User's settings section; into Settings →
> Completed in 1534ms (View: 50, DB: 60) | 200 OK
>
> There's my LAN IP (and that's ok); the second lines shows an incomplete
> line (for how I see it). Seems like my email address isn't read from the
> db.
>
>

Please, can you tell me if your Typo is running in production or
development mode?
And if your server can actually send emails ?
And does your user have an email ?


--
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player
proverb
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://t37.net                       Typo : http://typosphere.org
8ddb7e050630225704ee5b628235c5f5?d=identicon&s=25 Fabiano Francesconi (Guest)
on 2010-04-15 16:41
(Received via mailing list)
On Thu, Apr 15, 2010 at 03:41:54PM +0200, de Villamil Frédéric wrote:
> >>>> posts a comment?
> >>
> >> frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
> > I've marked two checkboxes: "Send notification messages via email" and
> >
> Please, can you tell me if your Typo is running in production or development mode?
> _______________________________________________
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

By running Typo in development mode I can see the whole message.
To: and From: mail addresses are correct .

The mail isn't dispatched.

How can I test if server can send emails?

I'll write here my mail configuration:

method: :smtp
settings:
  :address: mygmailusernameatgmaildotcom
  :port:    587
  :domain:  smtp.gmail.com
  :authentication:  :login
  :user_name: mygmailusername
  :password: mygmailpassword

Shouldn't be enough?
9e36aeb20f1b4a763043d3ce4942b454?d=identicon&s=25 Jonas Elfström (Guest)
on 2010-04-15 19:10
(Received via mailing list)
On Thu, Apr 15, 2010 at 4:32 PM, Fabiano Francesconi
<fabiano.francesconi@gmail.com> wrote:
>
> Shouldn't be enough?

Only if it supports TLS or SSL.
http://mail.google.com/support/bin/answer.py?hl=en...
8ddb7e050630225704ee5b628235c5f5?d=identicon&s=25 Fabiano Francesconi (Guest)
on 2010-04-15 19:11
(Received via mailing list)
On Thu, Apr 15, 2010 at 07:03:42PM +0200, Jonas Elfström wrote:
> >  :user_name: mygmailusername
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

I sincerely don't know it
700f9a3b883e6a04d018f48290b1a3fd?d=identicon&s=25 de Villamil Frédéric (Guest)
on 2010-04-16 21:04
(Received via mailing list)
Le 15 avr. 2010 à 19:11, Fabiano Francesconi a écrit :

>>>  :authentication:  :login
>> Typo-list mailing list
>> Typo-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
>
> I sincerely don't know it
>
>

Hello,

By default, Rails (and Typo) are not powered to send emails using a TLS
enabled SMTP.

I've writen a small tutorial on how to do it at
blog.typosphere.org/having-typo-sending-emails-using-gmail-or-any-other-tls-enabled-smtp.html

Cheers,
Frédéric / neuro`

--
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player
proverb
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://t37.net                       Typo : http://typosphere.org
8ddb7e050630225704ee5b628235c5f5?d=identicon&s=25 Fabiano Francesconi (Guest)
on 2010-04-17 00:40
(Received via mailing list)
On Fri, Apr 16, 2010 at 08:50:05PM +0200, de Villamil Frédéric wrote:
> >>>  :address: mygmailusernameatgmaildotcom
> >>
>
> Frédéric de Villamil
> "What's mine is mine. What's yours is still unsetteled" – Go player proverb
> frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
> http://t37.net                       Typo : http://typosphere.org
>
> _______________________________________________
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

I'd like to add that git is necessary to install the plugin you mention
in your blogpost.

After installing git everything started running fine.

Anyway I'd really enjoy a furthermore option to send plain-text emails
instead of HTML.

Keep going on. I really enjoy Typo and I really enjoy the work you are
doing. I mean it.

Thank you again.
8ddb7e050630225704ee5b628235c5f5?d=identicon&s=25 Fabiano Francesconi (Guest)
on 2010-04-17 01:04
(Received via mailing list)
On Fri, Apr 16, 2010 at 08:50:05PM +0200, de Villamil Frédéric wrote:
> >>>  :address: mygmailusernameatgmaildotcom
> >>
>
> Frédéric de Villamil
> "What's mine is mine. What's yours is still unsetteled" – Go player proverb
> frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
> http://t37.net                       Typo : http://typosphere.org
>
> _______________________________________________
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

A little "errata corrige".
I didn't mean to say that git is mandatory to "install" the plugin, of
course. Git is mandatory to *fetch* the plugin, indeed.
This topic is locked and can not be replied to.