Problem with CMSMailer - Split server...

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Problem with CMSMailer - Split server...

Post by fearmydesign »

Hi everyone, we have our CMSMS on a Windows server and the mail for the same website going through a Linux/Apache server. So my CMSMailer is not working when I set it up as an smtp.... even when I set it up as 'sendmail' it still doesn't work, I am not getting any of the emails from any forms on the site or anything like that.

Can someone help me? is there a problem having emails go through a different server than where the site is being hosted?

Thank you
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problem with CMSMailer - Split server...

Post by Dr.CSS »

The mailer is PHP based and runs on the server it's on, that said some have been able to use gmail, no idea how they set it up, and by the way why is it running on a windows server...
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Problem with CMSMailer - Split server...

Post by fearmydesign »

;D  Hi Mark, thanks for your response  8)
...by the way why is it running on a windows server...
It's running on a Windows server because the designers have some applications that were written on asp I believe, so they suggested the windows server which has been a nightmare to deal with... not to mention that it's being hosted by GoDaddy.
The mailer is PHP based and runs on the server it's on
Ok, so the mailer is looking internally for any email settings, but we are redirecting all the mail. A records through an external email server (linux). Having this setup, does anyone know of any way around this to get the mailer working properly with the smtp settings?

Regards
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Problem with CMSMailer - Split server...

Post by Nullig »

You will probably have to use SMTP mailer method for CMSmailer.

Make sure you have the proper settings for:

SMTP host name (or IP)
SMTP server Port
SMTP Authentication
Username and Password for the email account

You can get more info at the phpmailer site:

http://phpmailer.worxware.com/index.php

Nullig
Last edited by Nullig on Tue Nov 09, 2010 6:57 pm, edited 1 time in total.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Problem with CMSMailer - Split server...

Post by fearmydesign »

Thanks for the response Nullig
You will probably have to use SMTP mailer method for CMSmailer.

Make sure you have the proper settings for:

SMTP host name (or IP)
SMTP server Port
SMTP Authentication
Username and Password for the email account
I tried already to select smtp in the CMSMailer and I put all the right settings but it's still not working, even with the 'sendmail' is not working. According to what DrCSS said, the mailer only works internally, but sense we are using an 'external server' for emails, its not working.

Any suggestions?..  :-\
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Problem with CMSMailer - Split server...

Post by Nullig »

It works for me. I use SMTP mail for a lot of sites, where the mail server is external to the site.

Have you looked in your logs to see what errors there are?
Check the mail server logs to see what it's receiving.

Nullig
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Problem with CMSMailer - Split server...

Post by fearmydesign »

Have you looked in your logs to see what errors there are?
I checked the admin log and this is the error that's coming up..

FormBuilder submit error: Could not execute: /usr/sbin/sendmail
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Problem with CMSMailer - Split server...

Post by Nullig »

You must have CMSMailer setup for sendmail.

Nullig
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Problem with CMSMailer - Split server...

Post by fearmydesign »

You must have CMSMailer setup for sendmail.
I tried using 'sendmail' but it doesn't work either.

I actually tried to use another smtp on another site that I have with the same setup (external mail server) and it works... I can't understand why on this particular site it doesn't work. Is it possible that some files got corrupted, or missing? or anything to do with the fact that is sitting on a Windows server?
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Problem with CMSMailer - Split server...

Post by Nullig »

Have you checked the mail server logs to see what it's getting?

Can you telnet from the Windows server to the mail server?

Nullig
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Problem with CMSMailer - Split server...

Post by fearmydesign »

I tried again using an external stmp setting that 'I know for a fact it works', but still on this website it didn't work... I got the following error...

FastCGI Error

The FastCGI Handler was unable to process the request.
Error Details:

The FastCGI process exceeded configured activity timeout
Error Number: 258 (0x80070102).
Error Description: The wait operation timed out.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Problem with CMSMailer - Split server...

Post by fearmydesign »

Have you checked the mail server logs to see what it's getting?
I checked the mail server logs and nothing seems to be getting to it... so somehow the CMSMailer is not even getting that far? could this be a corrupted file or missing file on my cmsms installation?

Can you telnet from the Windows server to the mail server?
I've never done this...and I don't know what this is  :-\

Thank you for your help
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Problem with CMSMailer - Split server...

Post by Nullig »

What version of PHP are you running?

Nullig
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Problem with CMSMailer - Split server...

Post by fearmydesign »

What version of PHP are you running?
Windows Server - PHP 5.2.13
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: Problem with CMSMailer - Split server...

Post by KO »

I once had problem when I tried to send email to 2 different email addresses (one gmail, one having email address/domain email server hosted). As soon as I removed the gmail address everything worked. So the email server was configured to drop everything unless ALL email addresses were hosted in that server.

Just checking that you're not running into that case.
Locked

Return to “[locked] Installation, Setup and Upgrade”