sc_mail_send question on the settings

Hi All,

I have been having no end of problems with sc_mail_send and a particular provider.

The settings given by the host is
Secure SSL/TLS Settings (Recommended)
[TABLE=“class: table manual_settings_table, width: 100%”]
[TR]
[TD]Username:[/TD]
[TD=“class: data”]sales@fsdb1.com[/TD]
[/TR]
[TR]
[TD]Password:[/TD]
[TD=“class: escape-note”]Use the email account?s password.[/TD]
[/TR]
[TR]
[TD]Incoming Server:[/TD]
[TD=“class: data”]fsdb1.com

  • IMAP Port: 993
  • POP3 Port: 995
[/TD] [/TR] [TR] [TD]Outgoing Server:[/TD] [TD="class: data"]fsdb1.com
  • SMTP Port: 465
[/TD] [/TR] [TR] [TD="class: notes, colspan: 2"] IMAP, POP3, and SMTP require authentication. [/TD] [/TR] [/TABLE] Non-SSL Settings (NOT Recommended) [TABLE="class: table manual_settings_table"] [TR] [TD]Username:[/TD] [TD="class: data"]sales@fsdb1.com[/TD] [/TR] [TR] [TD]Password:[/TD] [TD="class: escape-note"]Use the email account?s password.[/TD] [/TR] [TR] [TD]Incoming Server:[/TD] [TD="class: data"]mail.fsdb1.com
  • IMAP Port: 143
  • POP3 Port: 110
[/TD] [/TR] [TR] [TD]Outgoing Server:[/TD] [TD="class: data"]mail.fsdb1.com
  • SMTP Port: 587
[/TD] [/TR] [TR] [TD="class: notes, colspan: 2"] IMAP, POP3, and SMTP require authentication. [/TD] [/TR] [/TABLE]

I cannot seem to connect to the mail server using

sc_mail_send($_email_server,$_email_from,’_Sales2799’,$_email_from,$_email,$_email_subject,$_message_body,‘H’,’’,’’);

I have also added a ‘465’ at the end of the sc_mail_send and ‘587’ using mail.fsdb1.com

Here is the error I get

stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known

Anyone see something obvious?

Thanks

Tony

PS. Also the help mentions php_openssl What is that all about and how do I get it? if needed that is

not sure what version of scriptcase you’re using but maybe this helps http://www.scriptcase.net/docs/en_us/v81/scriptcase-macros/scriptcase-macros#sc_mail_send

Has your web server the ports open to outbund conections? many sw firewalls (iptables) locks those ports in order to limit spambots.