server wont let load \lib\Swift\Authenticator\@PopB4Smtp.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
fleaBag
Forum Newbie
Posts: 5
Joined: Mon Nov 05, 2007 2:03 pm

server wont let load \lib\Swift\Authenticator\@PopB4Smtp.php

Post by fleaBag »

Hi, first of all thank you Mr. Corbyn for putting Swift out on open source.

My question might be very simple and I might be drowning in a glass of water, I have searched the forum for some answer and haven't found any yet.

It appears my server won't let me load \lib\Swift\Authenticator\@PopB4Smtp.php (simply because it starts with an @ sign).

I keep getting this message when I load it:

553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
553-For additional info please visit:
553-See http://help.yahoo.com/help/us/webhosting/gftp/

Now my server as you can see is with yahoo, I chose them thinking nothing could go wrong, am I doing something wrong?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Worst case, you can rename the file and change any code that points directly to it as well. I don't think much of the code would directly reference the file by name however.
fleaBag
Forum Newbie
Posts: 5
Joined: Mon Nov 05, 2007 2:03 pm

Post by fleaBag »

Thanks feyd.

I had thought of that, and now I will take a look at the code, just needed some confirmation on it.

I guess I'll just use a find and replace action on each file.

Cheers.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

I'm not 100% positive, but i think this happened to someone else before.

And Chris ended up renaming it in the newer versions.

What version do you have?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Those errors are SMTP responses. I doubt that has anything to do with a file name. Can you post the code please? :)

~feyd is right too, you're safe to rename that file... nothing else references it.
fleaBag
Forum Newbie
Posts: 5
Joined: Mon Nov 05, 2007 2:03 pm

Post by fleaBag »

Those errors are SMTP responses. I doubt that has anything to do with a file name. Can you post the code please? Smile
Hi Chis I haven't got any code, I'm barely trying to load the "lib" directory on to my server as the tut says. but my server won't let me load "\lib\Swift\Authenticator\@PopB4Smtp.php" (simply because it starts with an @ sign), dumping the following info:

Code: Select all

553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
And Zoxive thanks for the reply, I believe I downloaded the latest version since I just got it last night "Swift-3.3.2-php5".

Thanks again to all of you, this is great to have "Real human beings" behind Swift Mail and congrats on such a great forum.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

fleaBag wrote:
Those errors are SMTP responses. I doubt that has anything to do with a file name. Can you post the code please? Smile
Hi Chis I haven't got any code, I'm barely trying to load the "lib" directory on to my server as the tut says. but my server won't let me load "\lib\Swift\Authenticator\@PopB4Smtp.php" (simply because it starts with an @ sign), dumping the following info:

Code: Select all

553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
And Zoxive thanks for the reply, I believe I downloaded the latest version since I just got it last night "Swift-3.3.2-php5".

Thanks again to all of you, this is great to have "Real human beings" behind Swift Mail and congrats on such a great forum.
The odd thing is, 553 is a SMTP error code for "I'm not letting you send a message because XXXX" -- typically 'relaying denied', but it could be 'User not permitted' for example.

The next odd thing is that multi-line SMTP responses take the syntax:

553-Line one
553-Line two
553-... etc etc

can you post the *full* error message please, not just this bit. Even a PHP error message will have something at the start of it like 'Notice: undefined xyz on line 123 in file foo.php'.

Cheers :)
fleaBag
Forum Newbie
Posts: 5
Joined: Mon Nov 05, 2007 2:03 pm

Post by fleaBag »

Sure thanks, here goes the entire log

Code: Select all

Starting request
553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
553-For additional info please visit:
553-See http://help.yahoo.com/help/us/webhosting/gftp/
553 
553-The name you specified is not allowed.
553-Names must contain only ASCII letters (a-z,A-Z), digits (0-9), underscore, dot and dash.
553-Names must not start with a dot (.) or dash (-).
553-For additional info please visit:
553-See http://help.yahoo.com/help/us/webhosting/gftp/
553 
Transfer request completed with status: Failed, 1 SubItem(s) failed
PASV
227 Entering Passive Mode (68,142,212,99,143,126)
connecting data channel to 68.142.212.99:36734
data channel connected to 68.142.212.99:36734
LIST
150  Opening ASCII mode data connection for /upiorz/swift/lib/Swift/Authenticator .
transferred 346 bytes in < 0.001 seconds, 2703.125 Kbps ( 337.891 KBps).
:)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Ah ha! Got you. I completely misunderstood, I thought you meant when you try to include() the file.

No problem, just rename the file like I said ;)
fleaBag
Forum Newbie
Posts: 5
Joined: Mon Nov 05, 2007 2:03 pm

Post by fleaBag »

Ha ha, I had a feeling there was a bit of misunderstanding there, I did as you said and looked through all the files (there is none referencing that specific file) and now I'm loading my database, but another question arose (perhaps this belongs to a different thread) is there an easy way to load from or connect swift to an excel spreadsheet containing all my recipients?

Thanks a million for all the help... :D
Post Reply