AlwaysNewbie Posted May 1, 2008 Share Posted May 1, 2008 Well, I try to set out version RS2. I noticed that 'contact us' e-mail works fine, but all other e-mail functions don't work despite of absence of any warnings. I found topic about this problem and downloaded file smtp.zip. I read readme file and did everything what I should. Well, now not even 'contact us' works. I'm keep getting message Warning: fsockopen(): unable to connect to mbox.freehostia.com:25 in /home/www/XXXXXXXX.com/catalog/admin/includes/classes/class.smtp.inc on line 87 Warning: Cannot modify header information - headers already sent by (output started at /home/www/XXXXXXXX.com/catalog/admin/includes/classes/class.smtp.inc:87) in /home/www/XXXXXXXX.com/catalog/admin/includes/functions/general.php on line 22 Under XXXXXXXX.com it shows my actual domain name. That message shows up when I tried 'contact us' e-mail or send msg to customers from admin panel. What I should do to fix that problem? Details: As user name I put my email on my host something like [email protected] As password I put my password for my domain e-mail. As host I enter my SMTP mail server name mbox.freehostia.com Thanks for any help. Computers777dotcom Link to comment Share on other sites More sharing options...
bpopelar Posted May 1, 2008 Share Posted May 1, 2008 Which contribution did you use? Does it have a support thread? The error message means your email server is not listening on port 25 (the default port number for SMTP). It is not unusual for a hosting company to use a different port number. Contact your hosting company to find out which port number you should be using. Ignore the "Warning: Cannot..." it is cause by the first error message. The other parameters sound correct. Ben Link to comment Share on other sites More sharing options...
AlwaysNewbie Posted May 1, 2008 Author Share Posted May 1, 2008 Which contribution did you use? Does it have a support thread? The error message means your email server is not listening on port 25 (the default port number for SMTP). It is not unusual for a hosting company to use a different port number. Contact your hosting company to find out which port number you should be using. Ignore the "Warning: Cannot..." it is cause by the first error message. The other parameters sound correct. Ben bpopelar, thank you for responce. 1. I use version RS2.2a if that what you mean under contribution. 2. I'm gonna check port#. 3. I returned everything back, how it was before I made changes, so at least 'contact us' works. Computers777dotcom Link to comment Share on other sites More sharing options...
AlwaysNewbie Posted May 2, 2008 Author Share Posted May 2, 2008 I checked the port and it's fine, it is 25. When customer makes an order, e-mail works fine to both: it sends e-mail to customer and me, but if I try to send emails from Administrator area it doesn't. No errors, no warnings, and no e-mails. Computers777dotcom Link to comment Share on other sites More sharing options...
♥GLWalker Posted May 2, 2008 Share Posted May 2, 2008 Thanks for reply, I'm not sure what settings you talking, im "My store" email settings or "email options" settings. As I posted email options settings are e-mail Transport Method: smtp e-mail Linefeeds: LF Use mime html: false Verify e-mail: false send e-mails: true My store settings looks like this: e-mail address: [email protected] e-mail from: [email protected] Any ideas what's wrong? Thanks for any help. In email options, change email transport method to sendmail. Let us know how that works. Follow the community build: BS3 to osCommerce Responsive from the Get Go! Check out the new construction: Admin Gone to Total BS! Link to comment Share on other sites More sharing options...
AlwaysNewbie Posted May 2, 2008 Author Share Posted May 2, 2008 In email options, change email transport method to sendmail.Let us know how that works. Sorry I didn't reply right away. Somehow I didn't get notification. When I changed email transport method to sendmail neither Contuct Us or sendig e-mail from Admin pannel work. :( When it set to SMTP all e-mail works fine except sending from Admin pannel. Computers777dotcom Link to comment Share on other sites More sharing options...
bpopelar Posted May 3, 2008 Share Posted May 3, 2008 When the email transport is set to SMTP, the email Linefeed parameter must be set to CRLF. This does not explain your problem. From your description, it sounds like email is working on the front side of the store, but not from the back (admin) side. Is this correct? Link to comment Share on other sites More sharing options...
AlwaysNewbie Posted May 3, 2008 Author Share Posted May 3, 2008 When the email transport is set to SMTP, the email Linefeed parameter must be set to CRLF. This does not explain your problem. From your description, it sounds like email is working on the front side of the store, but not from the back (admin) side. Is this correct? yes, all front side e-mails (I guess I checked all of them, I can't be sure, cause I am really a newbie and install the store only couple days ago) work fine. E-mail doesn't work from admin side (for example if I send newsletter) Thanks for any help Computers777dotcom Link to comment Share on other sites More sharing options...
bpopelar Posted May 3, 2008 Share Posted May 3, 2008 Do you have the admin -> configuration -> my store -> E-mail From parameter defined? That parameter is only used as the source of news letters and admin emails (if I remember correctly). All other email functions use the E-Mail Address parameter as the source / destination address. Ben Link to comment Share on other sites More sharing options...
AlwaysNewbie Posted May 3, 2008 Author Share Posted May 3, 2008 Do you have the admin -> configuration -> my store -> E-mail From parameter defined? That parameter is only used as the source of news letters and admin emails (if I remember correctly). All other email functions use the E-Mail Address parameter as the source / destination address. Ben Yes, it is the same as parameter in admin -> configuration -> my store ->E-mail address It is [email protected] That address works fine in all other cases, except Admin pannel. :( Thanks for help Computers777dotcom Link to comment Share on other sites More sharing options...
bpopelar Posted May 3, 2008 Share Posted May 3, 2008 Does you hosting company say anything about needing email authentication to send email / prevent SPAM? You've got a weird problem here where the front side is sending email both to a local email address (the store) and a foreign email address (the customer), but the back side won't send anything. Usually it doesn't matter which side sends the email (front / admin), it matters which domain the email is sent to (local / foreign). There are two copies of email.php; one in includes/classes and one in admin/includes/classes. They files should be identical. Is there any chance you made a change to one and not the other when you tried the original solution and/or backing it out? Ben Link to comment Share on other sites More sharing options...
AlwaysNewbie Posted May 3, 2008 Author Share Posted May 3, 2008 Thanks for your help Ben, I'm so ashamed, don't know what to start from. I checked host: everything fine was there. I tried to send e-mail from admin again and I noticed that e-mail address in a combobox was [email protected]> instead of [email protected]. DAMMIT! Well, you know, when I removed my name from address I didn't delete that last character on a right. My fault. That was really stupid. Tried to send e-mail from Admin and it was good. The only thing is that all e-mails have strange line on a bottom: but at least now I can move on. Thank you very much again, Mike Computers777dotcom Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.