worsin Posted April 28, 2008 Share Posted April 28, 2008 I have tried it all and i just cant seem to get this to work and am about to give up on this whole billing solution. i have tried the SMTP settings and the PHP settings. SMTP settings i get the following error when i try to send an email to someone but it doesnt tell me anything more. "There has been an error sending the email." WTF kind of error message is this? Can someone help me understand how i can start to debug this problem? If i try and use PHP settings it tells me no errors but i never get the email and i have NO SPAM settings for the email im trying to test this on. Pls help!! Where do i start looking for debugging this issue? 0 Quote Link to comment Share on other sites More sharing options...
worsin Posted April 29, 2008 Author Share Posted April 29, 2008 After some further testing some symptoms i am getting are as follows. If i select php mail it seems to send email messages ONLY to the email address i place in the BCC field and then it is ONLY if the email in the BCC field is my domains name of hostrocks.com It will not send to any email domains other then my own domain for some reason. At least that is how it seems. BTW do i need to leave any other info to help with this problem? 0 Quote Link to comment Share on other sites More sharing options...
jsi Posted April 29, 2008 Share Posted April 29, 2008 When you setup SMTP do you put in the main email account on your server? localhost Or do you enter an email account that you setup? mail@youremail.com 0 Quote Link to comment Share on other sites More sharing options...
worsin Posted April 29, 2008 Author Share Posted April 29, 2008 When you setup SMTP do you put in the main email account on your server?localhost Or do you enter an email account that you setup? mail@youremail.com Ive been entering an email that ive set up support@hostrocks.com 0 Quote Link to comment Share on other sites More sharing options...
jsi Posted April 29, 2008 Share Posted April 29, 2008 Try this: Port: 25 SMTP Host: localhost Username: your server username Password: your server password 0 Quote Link to comment Share on other sites More sharing options...
worsin Posted April 29, 2008 Author Share Posted April 29, 2008 Here is a screenie of how i have it set 0 Quote Link to comment Share on other sites More sharing options...
worsin Posted April 29, 2008 Author Share Posted April 29, 2008 Ok i used your settings and i no longer get the error saying something went wrong but i dont get the email either lol. Almost there!! 0 Quote Link to comment Share on other sites More sharing options...
jsi Posted April 29, 2008 Share Posted April 29, 2008 well that should work. The way you had it setup also should had worked. Sounds like problems with your email. Have you tested your email account? Maybe logging into webmail and sending a test from there? Or setting up the account on Outlook and testing from there? Try sending to different addresses also, it might be a problem with your email account not receiving email for some reason. Dont know. Just shooting possibilities, but it sounds like problems with your email account. 0 Quote Link to comment Share on other sites More sharing options...
worsin Posted April 29, 2008 Author Share Posted April 29, 2008 well that should work. The way you had it setup also should had worked. Sounds like problems with your email. Have you tested your email account? Maybe logging into webmail and sending a test from there? Or setting up the account on Outlook and testing from there? Try sending to different addresses also, it might be a problem with your email account not receiving email for some reason. Dont know. Just shooting possibilities, but it sounds like problems with your email account. Ive checked the emails ive used many times and they all work fine. My servers domain is set up as follows hostrocks.net is my servers domain WHM is installed on hostrocks.net is an account i created with the email support@hostrocks.net hostrocks.com is an account i created with the email support@hostrocks.com hostrocks.com is where the WHMCS is installed question is if i set it to localhost is it trying to use hostrocks.net or .com and the user/pass your suggesting is this the one i sign on with in WHM with? 0 Quote Link to comment Share on other sites More sharing options...
freedombi Posted April 29, 2008 Share Posted April 29, 2008 The SMTP Username and Password don't have anything to do with WHM. It is any valid mail account, so you can authenticate against the mail server and send mail. If WHMCS is connecting to the mail server, you should see something in the mail logs either accepting the mail or giving a reason why it was rejected. 0 Quote Link to comment Share on other sites More sharing options...
worsin Posted April 29, 2008 Author Share Posted April 29, 2008 The SMTP Username and Password don't have anything to do with WHM. It is any valid mail account, so you can authenticate against the mail server and send mail. If WHMCS is connecting to the mail server, you should see something in the mail logs either accepting the mail or giving a reason why it was rejected. I'm very new to WHM where do i find the mail logs? heh 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted April 29, 2008 Share Posted April 29, 2008 You won't find them in WHM - A typical cPanel/whm setup with exim stored logs at /var/log/exim_mainlog 0 Quote Link to comment Share on other sites More sharing options...
worsin Posted May 1, 2008 Author Share Posted May 1, 2008 Using localhost port25 Server username Server password the problem was i was using root as the username but that account was not actually owned by root, once i made the account owned by root it works fine. Thanks for help!! 0 Quote Link to comment Share on other sites More sharing options...
Scooty Posted June 14, 2008 Share Posted June 14, 2008 worsin, so your saying the normal username for email like outlook won't work? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.