Need help with swift and php ..

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
pac1984
Forum Newbie
Posts: 2
Joined: Mon Jul 02, 2007 11:22 am

Need help with swift and php ..

Post by pac1984 »

hello everyone

im currently building a website and need to have on it a small form with just two fields, Email and Name. i then wish for this too be sent to a email address. The email address's sent will be then sent a weekly newsletter.

anyhow ive been struggling on how to do this and whilst looking for a way i have come across Swift.

i have tried today using the tutorials and instructions to use swift to send the email from the form.

well it doesnt work atm =)


i havnt used php before, well i did a little a university but i really have no clue about it.

do i need to install anything to run php and swift apart from the documents downloaded.

what is SMTP and how do i find out if i have it or not?



sorry these are probably really silly questions but i have to ask.

thanks for your help
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

You need a web server (HTTP) installed with PHP on it. You then need to make sure you've downloaded the correct version of Swift Mailer for your version of PHP (there are versions for 4 and 5).

Once you have that, there are no other dependencies for basic stuff. SMTP is the protocol you use to send emails everytime you send an email. Your ISP will usually provide an SMTP server for you to use.

I can't really offer much help without some expansion on "it doesn't work atm" ;)
pac1984
Forum Newbie
Posts: 2
Joined: Mon Jul 02, 2007 11:22 am

Post by pac1984 »

okay im using dreamhost server space.

so i just download php and upload it to the server?

also how to i find out my SMTP?
Post Reply