I'm trying to work with the Swiftmailer class. However, as documented, one has to try to telnet to the smtp server first to see if that's working, I've never telnetted before (is that a good word?), but I've opened the command prompt on my windows box and after entering telnet smtp.mydomain.com 25 it seemed to work (trying to connect to ...)
However, I cannot make a connection. Looking up my hosts' info, it says:
"Telnet and Secure Shell are not switched on because of security reasons. To protect your data no one is allowed shell access."
Does that mean I can't use Swiftmailer?
Swiftmailer and shell access
Moderator: General Moderators
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
I don't know, but if your telnet'ing or SSH'ing then I can highly recommend PuTTY, instead of command prompt.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
No it doesn't mean you can't use Swiftmatthijs wrote:Weirdan: yes, I mean the info I read on the website of my hosting company. Apparently they do not allow telnet access. So I was wondering if that means if I cannot use swiftmailer.
jayshields: thanks for the link. I'll take a look at putty.
It seems I'm just not allowed to telnet my server for security reasons. Well, it's a cheap shared host so you can't expect too much I guess.
I did manage to get swiftmailer send a mail, so the smtp setting is correct. Next problem is that only mailing to an email address from the domain itself is allowed (i.e. info@mydomain.com on mydomain.com). Every other address results in
[response] => 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Using mail() or other mail classes (like phpmailer) I can email those other email addresses. So that's very strange.
One quick question: with smtp details one means just smtp.mydomain.com, isn't it?
I did manage to get swiftmailer send a mail, so the smtp setting is correct. Next problem is that only mailing to an email address from the domain itself is allowed (i.e. info@mydomain.com on mydomain.com). Every other address results in
[response] => 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Using mail() or other mail classes (like phpmailer) I can email those other email addresses. So that's very strange.
One quick question: with smtp details one means just smtp.mydomain.com, isn't it?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
(Assumes the email is I got via the website from your good self toomatthijs wrote:One quick question: with smtp details one means just smtp.mydomain.com, isn't it?
The SMTP server could be anything.... if you're specifiying it like you are then maybe you're getting these relaying denied messages because the server you're sending through is not the same as if you use sendmail (as in, PHPMailer, mail() ).
Try using the sendmail connection instead or (possibly) put localhost as the server to connect to