Page 1 of 1

Need help with swift and php ..

Posted: Mon Jul 02, 2007 11:47 am
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

Posted: Mon Jul 02, 2007 11:51 am
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" ;)

Posted: Mon Jul 02, 2007 12:34 pm
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?