 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
RooJs.com: How to spam in PHP..
by Chris Cornutt April 11, 2011 @ 10:20:41
On RooJs.com there's a recent post from Alan Knowles looking at how to spam in PHP. No, nothing malicious - it's more about scalability in sending emails from PHP applications.
The reason this has been relivant in the last two weeks is two fold, first off, my slow and sometimes painfull Pman.Core and Pman.Base). It seemed like an ideal time to write some generic code that can solve both issues.
He mentions the usual method of generating numerous emails and sending them to a remote SMTP server, but points out that there's a better way. You can take advantage of queuing and batch sending techniques and, the way he decided to do it for mtrack, using queue tables and a backend runner (a cron job) that uses proc_open to send out multiple emails at once. You can see the code for it here.
voice your opinion now!
spam email send smtp process procopen mtrack
SeeIT Consult Blog: PHP mail() with Ubuntu Desktop and Gmail
by Chris Cornutt August 27, 2010 @ 08:57:20
In this new post to the SeeIT Consult blog they show you how to use the Google Mail STMP service to send emails directly from PHP - no local MTA required.
I use a local Apache/MySQL server on a laptop to do a lot of my development '" I don't need a full mail server just to send mail. Also SMTP servers on dynamically assigned IP addresses are so untrusted these days that you can be pretty much guaranteed that a decent spam filter will reject your email based on a RBL lookup. By using Google Mail's authenticated SMTP service you bypass this restriction.
Their solution uses the ssmtp tool instead - a simpler MTA that doesn't require near the setup of others. They show you how to adjust the config to handle the PHP emails, set up some users and configure PHP (the sendmail_path in the php.ini) to push the emails through it. Because of the configuration changes, it then knows enough to push those emails out to Gmail's SMTP.
voice your opinion now!
gmail smtp tutorial ssmtp mta email
PHPClasses.org Blog: Sending e-mail using [Remote] SMTP servers/MIME Email
by Chris Cornutt April 20, 2009 @ 11:15:29
On the PHPClasses.org blog Manuel Lemos has a recent post looking at a method for sending emails using a remote SMTP server (like Google or Yahoo's) via this package.
In most hosting environments, the PHP mail() function is sufficient to send e-mail messages without problems. However, there are situations on which using the mail function is inconvenient and may prevent that your messages reach the destination. [...] Therefore, you may need to find an alternative way for sending your e-mail messages from PHP.
The package lets you define a username/password, server, whether to use a SSL connection or not, and if the connection needs to use the TLS protocol.
voice your opinion now!
server remote yahoo google smtp mail send package
|
Community Events
Don't see your event here? Let us know!
|