Help installing Swift

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
noambarz
Forum Newbie
Posts: 3
Joined: Tue Apr 01, 2008 4:52 am

Help installing Swift

Post by noambarz »

Hello,

I hope this is the correct place for me to post this sort of question.
I am currently trying to install swift on a development computer, before installing it on my server.
The personal PC is running windows XP with IIS 6.
It has PHP version 5.2.5 installed and I am trying to install "Swift-3.3.3-php5".

I changed copied the "lib" and "tests" folders into the root directory and in the "TestConfiguration.php" file, I changed the TO_ADDRESS variable to my e-mail.

I tried running the "test sending a basic email with no attachments".

The message fails and I get this message:

Error: Message did not send!
Log Information
++ Log level changed to 4
++ Trying to connect...
++ Trying to connect to SMTP server at 'smtp.swiftmailer.org:25
<< 220 w3style.co.uk ESMTP Exim 4.63 Tue, 01 Apr 2008 10:42:01 +0100
>> EHLO localhost.localdomain
<< 250-w3style.co.uk Hello localhost.localdomain [62.90.192.188]
250-SIZE 52428800
250-PIPELINING
250-AUTH CRAM-MD5
250 HELP
++ SMTP extension 'SIZE' reported with attributes [52428800].
++ SMTP extension 'PIPELINING' reported with attributes [].
++ SMTP extension 'AUTH' reported with attributes [CRAM-MD5].
++ SMTP extension 'HELP' reported with attributes [].
>> MAIL FROM: <chris@w3tyle.co.uk>
<< 250 OK
>> RCPT TO: <noambarz@hotmail.com>
<< 550 relay not permitted
!! Expected response code(s) [250] but got response [550 relay not permitted]
!! Recipient 'noambarz@hotmail.com' rejected by connection.
>> RSET
<< 250 Reset OK

could you please tell me what the problem is?
User avatar
EverLearning
Forum Contributor
Posts: 282
Joined: Sat Feb 23, 2008 3:49 am
Location: Niš, Serbia

Re: Help installing Swift

Post by EverLearning »

From the message log, i think the problem is that you're trying to send mail using default mail server(smtp.swiftmailer.org), which has relaying disabled. You should set up mail server on your machine, or use an mail server you have access to, and try with them.
noambarz
Forum Newbie
Posts: 3
Joined: Tue Apr 01, 2008 4:52 am

Re: Help installing Swift

Post by noambarz »

Thanks Everlearning!
You solved my problem!
Post Reply