Email::Send::Gmail

brian_d_foy on 2007-11-04T23:54:00

Sending mail is too hard. You have to know what kind of machine you are on and what the sysadmins might have set up. It's even more of a pain if your code might run in a few places. That's why I've written Email::Send::Gmail so you can send email programmatically using a Gmail account. Simple but good.


Sending mail too hard?

b10m on 2007-11-05T08:25:49

"Sending mail is too hard."

Right, especially using Gmail, for it'll be blocked unmercifully by my MTA (... yeah I dislike Gmail).

But seriously, I've never run into problems with sending mail from a machine. Usually, there's a sendmail binary, or a SMTP server in the subnet that'll relay for me... Maybe I've been lucky, but your statement is just too bold, IMHO.

Email::Send::Gmail is too simple!!

RGiersig on 2007-11-05T11:06:47

Right, not having an SMTP server available inside your environment is seldom a problem. Moreoften the problem is that there is a firewall, preventing you to connect to an outside SMTP port, like the Gmail port!

Now if this module would send the mail via HTTP and thus would work via any proxy, THEN it would be really helpful. But this module really is just a wrapper around Email::Send::SMTP with host smtp.gmail.com and port 465. No real innovation...

how to attach files to Email::Send::Gmail emails?

ff on 2007-11-28T06:07:33

Is there a way to attach files like .pdf and .xls to these e-mails?