Send entries via E-mail

Creating and modifying plugins.
rjeyre
Posts: 4
Joined: Sat Feb 18, 2006 11:05 pm

Send entries via E-mail

Post by rjeyre »

Is there any way to enter more than one e-mail address into this plugin? It says: (suggested: a mailing list). I know how to make an e-mail list in Thinderbird or gmail, but how do send e-mail to one address that mails it to a list?

Also, is there any way to get it to e-mail just the link to the new entry and not the entry itself?

Thanks for any help you can give me.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Send entries via E-mail

Post by garvinhicking »

For a mailinglist, you must setup a mailinglist in/on your mailserver or use external services like YahooGroups.

You can just add multiple mail adresses by seperating them with a ",", but that is a much larger overhead than using a mailinglist.

And you can configure the plugin to only include a link, yes.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rjeyre
Posts: 4
Joined: Sat Feb 18, 2006 11:05 pm

Post by rjeyre »

This is why Serendipity is the best...immediate feedback from a developer. Thanks so much Garvin. Can you tell me how to configure the plugin to only include a link? There's an option to "Mail link to article," but that also sends the article itself. Thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Glad you like Serendipity. :-))

If you enable the option "Mail link to article?" this should only send the URL within the mail, not the body. At least in my plugin version 1.43 of Serendipity 1.0-beta1 this is the case; if you've got an earlier version you can just fetch that single plugin file from a recent snapshot!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rjeyre
Posts: 4
Joined: Sat Feb 18, 2006 11:05 pm

Post by rjeyre »

Well, I upgraded to the exact versions you have, and I can't get it to send just the link and not the body text.

What I would really like it to do is send an e-mail that says: I have added a new entry to my blog. To view it, click on the following link."

I am sending this to family members, and I am sure that if it sends the entry itself, they will just read it in their e-mail program instead of going to the blog. I want them to go to the blog because then they will post comments there instead of just replying to my e-mail.

Can I edit the plugin to do this? If so, can you tell me how?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hm, so you configure the plugin exactly with that option I referred to?

You can edit the plugin file plugins/serendipity_event_mailer/serendipity_event_mailer.php to insert custom text. I am currently a but short on time, maybe you could remind me at the end of the week to give you a tutorial on how to edit that file? Or you might want to try it out yourself; the plugin file is not that large and you might even have fun trying it! :-)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jwc
Regular
Posts: 17
Joined: Mon Jun 26, 2006 5:03 am
Contact:

Post by jwc »

I am reviving an old thread here since I am having the exact same problem of not being able to option the mailer plugin to only send a link and NOT a link and text. Has anybody been able to successfully accomplish this feat :?:
John Canfield
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Please describe your serendipity version and version number of the plugin.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jwc
Regular
Posts: 17
Joined: Mon Jun 26, 2006 5:03 am
Contact:

Post by jwc »

Garvin - our versions are:

S9Y: 1.0
Mailer: 1.43

John
blog.janeandjohn.org
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I found out that sadly the option was not properly implemented. I made a fix:

http://svn.berlios.de/viewcvs/*checkout ... mailer.php

You can download that file and just overwrite your "plugins/serendipity_event_mailer/serendipity_event_mailer.php" file with that one.

hTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jwc
Regular
Posts: 17
Joined: Mon Jun 26, 2006 5:03 am
Contact:

Post by jwc »

:D :D Works great after the update! Thanks for fixing it Garvin! :D :D
John Canfield
jwc
Regular
Posts: 17
Joined: Mon Jun 26, 2006 5:03 am
Contact:

Option for Bcc?

Post by jwc »

Garvin - is is possible to easily modify the code to send only as a bcc and not as a to? I really don't like for my mailing list to see all of the addresses.
John Canfield
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Option for Bcc?

Post by garvinhicking »

Hi!

No, that's not easily possible. You might want to think about setting up a mailiunglist, and then you only need to enter ONE email address into the plugin, and your mailinglist takes care of the rest.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
jwc
Regular
Posts: 17
Joined: Mon Jun 26, 2006 5:03 am
Contact:

Post by jwc »

Thanks so much Garvin. I'll look into a mailing list but I don't think my host provider (1&1) has that feature.

John
John Canfield
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You don't really need to have that on your own webspace; Yahoo and ecircle and others host free mailinglists!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply