Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm trying to find a replacement for Swift Mailer as my website is on Dreamhost. They do not allow fsockopen() which apparently Swift Mailer uses.

Does anyone know of a good alternative, or can point me in the direction of something to use or do?

share
3  
From the swift mailer homepage: Send emails using SMTP, sendmail, postfix or a custom Transport implementation of your own. You should still be able to use it, maybe you just need to choose another method for sending the emails. It should be able to use the standard php mail() function. –  drew010 Sep 23 '11 at 22:36
comments disabled on deleted / locked posts

migration rejected from stackoverflow.com Aug 5 '13 at 16:54

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by John Conde Aug 5 '13 at 16:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Pro Webmasters as they tend to attract opinionated answers and spam." – John Conde
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

PHPMailer is a PHP email transport class featuring file attachments, SMTP servers, CCs, BCCs, HTML messages, word wrap, and more. Sends email via sendmail, PHP mail(), QMail, or directly with SMTP. Support for additional transports, such as SMS, MMS will be forthcoming http://code.google.com/a/apache-extras.org/p/phpmailer/

Zend_Mail is a good library in zend but you would need root access most likely since Zend Framework and shared hosts don't mix to well.

To continue using Swift Mailer you may want to consider moving to Amazon ec2 or another cloud server company like RackSpace where you can have root access on your own server and not be limited, especially when your building custom applications.

share
    
ZF works just fine on shared hosting, as well as DH. Setup is pretty straight-forward as well: wiki.dreamhost.com/Zend_framework . It should be no different from using CakePHP or any other PHP framework. Whether you can use all classes, which may include extensions not supported by your web host is another matter, but that's true with any PHP app or library. But on DH, even a shared hosting account lets you recompile PHP on your own, so even that doesn't present any problems for those who know their way around linux/unix. –  Lèse majesté Apr 7 '13 at 13:17
add comment