Does anyone know if a tool or plugin exists that allows a user to send email invitations ( from a dancer site ) to friends in their email address list similar to the way linkedin does?
On 15-9-12 下午10:04, Richard Reina wrote:
Does anyone know if a tool or plugin exists that allows a user to send email invitations ( from a dancer site ) to friends in their email address list similar to the way linkedin does?
I was thinking this should be easy to write one, but you have to find out the right solution for your email delivery. I have used Sendgrid, it worked just fine. other similar ones include Mailgun, Mandrill etc. -- B. Regards, Ken Peng - ken@cloud-china.org
On Sat, 2015-09-12 at 09:04 -0500, Richard Reina wrote:
Does anyone know if a tool or plugin exists that allows a user to send email invitations ( from a dancer site ) to friends in their email address list similar to the way linkedin does?
I would have thought that this is too custom to an app for there to be a specific plugin. In terms of sending the email, you could use the Emailesque plugin, although personally I prefer to just send directly using Mail::Message. A plain text email is very simple, but I guess you'd probably want to send HTML, in which case you do something like this: my $parts = [ Mail::Message::Body::String->new( mime_type => 'text/plain', disposition => 'inline', data => "plain text message", ), Mail::Message::Body::String->new( mime_type => 'text/html', disposition => 'inline', data => "<p>HTML message</p>", ), ]; Mail::Message->build( To => 'recipient@domain.com' Subject => 'Hello there', From => 'email@example.com', 'Content-Type' => 'multipart/alternative' attach => $parts, )->send(via => sendmail);
Thanks for the replies and the mail delivery advice. However, what I am really after is a solution that would make it easy for user to put in recipients so that they would not have to go find and retype their friends email addresses. It sounds like there is not a plugin that does anything like this. So if anyone has any advice on how to go about writing one or even how much to expect to pay for someone to write one in perl for dancer please let me know.
On Sun, 2015-09-13 at 16:20 -0500, Richard Reina wrote:
Thanks for the replies and the mail delivery advice. However, what I am really after is
You should have said ;-)
a solution that would make it easy for user to put in recipients so that they would not have to go find and retype their friends email addresses.
Thanks again Andy. Any idea if this still a supported module? When I try to install it I get: perl -MCPAN -e 'install WWW::Contact'; Reading '/root/.cpan/Metadata' Database was generated on Mon, 14 Sep 2015 02:17:02 GMT Warning: Cannot install WWW::Contact, don't know what it is. Try the command i /WWW::Contact/ to find objects with matching identifiers. Installing it manually looks like it would lead to a dependency mess.
participants (3)
-
Andrew Beverley -
Ken Peng -
Richard Reina