Jump to content
  • 1

Smtp Settings


KrisA

Question

hi,

 

i want to migrate from whmcs to blesta and been testing this for a while, but the only problem i have is with SMTP mail settings.

 

I want to use Mandrill and used the correct settings, also port 587 which is required for mandrill is allowed in my firewall too, but still i'm not able to use the setting with blesta, can any one please guide me?

 

 

I have already searched the forum and found this topic:

 

http://www.blesta.com/forums/index.php?/topic/1390-blesta-emails-declared-as-spam-on-gmail/page-2?hl=mandrill

 

followed all the instruction but couldn't make it work.

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

hi,

 

i want to migrate from whmcs to blesta and been testing this for a while, but the only problem i have is with SMTP mail settings.

 

I want to use Mandrill and used the correct settings, also port 587 which is required for mandrill is allowed in my firewall too, but still i'm not able to use the setting with blesta, can any one please guide me?

 

 

I have already searched the forum and found this topic:

 

http://www.blesta.com/forums/index.php?/topic/1390-blesta-emails-declared-as-spam-on-gmail/page-2?hl=mandrill

 

followed all the instruction but couldn't make it work.

 

Do you have port 587 egress open at your firewall?

 

We use Mandrill ourselves and have the following options selected:

 

Delivery Method: SMTP

SMTP Security: TLS

SMTP Host: smtp.mandrillapp.com

SMTP Port: 587

SMTP User: (Your username, usually your email address)

SMTP Password: (Your mandrill password)

 

If the port is open, and the settings are correct, I don't see any reason this shouldn't work. It doesn't require any special PHP extensions, as long as there aren't PHP functions in the disabled list in your php.ini that might affect this it should work.

Link to comment
Share on other sites

  • 0

yes it's already open:

 

# Allow incoming TCP ports
TCP_IN = "30251:30500,20,21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,1157"

# Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,37,43,53,80,110,113,443,587,873,2086,2087,2089,2703"

 

in smtp password is it supposed to be API password or mandrill main account password?

Link to comment
Share on other sites

  • 0

in smtp password is it supposed to be API password or mandrill main account password?

 

It should be your API password, not the password you log in with.

 

Anything show up in their reporting when trying to send an email? Try the manual invoice delivery option on a client profile page, click the check box next to an invoice and try sending a copy to yourself.

 

Do you get any errors?

Link to comment
Share on other sites

  • 0

there is no record of any email being sent by blesta in mandrill, but blesta is showing reply has been made for the ticket.

 

i'm trying to set this in blesta/admin/settings/company/emails/mail/ 

 

isn't that the place which should be modified? 

 

 

btw, the phpmail function is working fine.

Link to comment
Share on other sites

  • 0

there is no record of any email being sent by blesta in mandrill, but blesta is showing reply has been made for the ticket.

 

i'm trying to set this in blesta/admin/settings/company/emails/mail/ 

 

isn't that the place which should be modified? 

 

 

btw, the phpmail function is working fine.

 

Yeah, that's the correct place to edit it.

 

I'd suggest trying to issue a NEW API key with mandrill, and give the new one a shot. Very unusual that this wouldn't be working with the correct details and the port open.

 

Any functions disabled in your php.ini? If so, they would be listed in disabled_functions.

Link to comment
Share on other sites

  • 0

these are disabled.

 

 

diskfreespace, dl, escapeshellarg, escapeshellcmd, exec, fpaththru, fsocket_open, getmypid, getmyuid, highlight_file, ignore_user_abort, ini_alter, leak, limit, link, listen, pack, passthru, php_uname, phpinfo, popen, posix, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, set_time_limit, shell_exec, show_source, system, tmpfile, virtual, symlink, openlog, proc_nice, allow_url_fopen

Link to comment
Share on other sites

  • 0

these are disabled.

 

 

diskfreespace, dl, escapeshellarg, escapeshellcmd, exec, fpaththru, fsocket_open, getmypid, getmyuid, highlight_file, ignore_user_abort, ini_alter, leak, limit, link, listen, pack, passthru, php_uname, phpinfo, popen, posix, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, set_time_limit, shell_exec, show_source, system, tmpfile, virtual, symlink, openlog, proc_nice, allow_url_fopen

 

Just a guess at this point, as I haven't reviewed the code but fsocket_open stands out as a possible issue. My suggestion would be to remove all of these from your disabled_functions, restart Apache, and then test it again. If it works, you've confirmed that it was one of these functions, and then you can add them back until is breaks again to determine the cause.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...