Westman Support

Web Developers

Web Hosting Platform

Westman Business uses a Linux hosting environment with a website management tool called cPanel. Users are better able to build, design, monetize and administrate a web environment using cPanel, which will match your business requirements and provides greater flexibility and more security for the end user.

Westman Business offers all hosting customers a portal to backup and restore copies of their site, view web statistics, allow administration of DNS records, and enable a simple installation of web-based applications such as blogs, shopping carts, and forums.


Below are some more detailed points for web developers.

  • Westman is using cPanel to control and manage its Linux hosting environment.
  • Site IP addresses will change but the username(s) and password(s) will stay the same.
  • cPanel user portal - webadmin.:2083
  • Sites using Westman servers will be required to use SMTP on port 587, rather than using sendmail.
    The customer can use any SMTP server that accepts mail on port 587 and can also use Westman mail servers provided Westman hosts the customer’s mail today.


For more information call us at 204-717-2839 or toll free at 1-800-665-3337 (ext. 2830).

Send Email from a PHP Script Using SMTP Authentication

To connect to an outgoing SMTP server from a PHP script using SMTP authentication and send an email:

  • Westman has the PEAR Mail package installed.
  • Typically, in particular with PHP 4 or later, this will have already been done for you. Just give it a try.
  • Adapt the example below for your needs. Make sure you change the following variables at least:
    • from: the email address from which you want the message to be sent.
    • to: the recipient's email address and name.
    • host: your outgoing SMTP server name.
    • username: the SMTP user name (typically the same as the user name used to retrieve mail).
    • password: the password for SMTP authentication.


Send Email from a PHP Script Using SMTP Authentication - Example

require_once "Mail.php";

$from = "Sender Name ";
$to = "Recipient Name ";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";  

$host = "smtp.wcgwave.ca";
$port = "587";
$username = "smtp_username";
$password = "smtp_password";  
$headers = array ('From' => $from,
        'To' => $to,
        'Subject' => $subject);
$smtp = Mail::factory('smtp',
        array ('host' => $host,
                'port' => $port, 'auth' => true,
                'username' => $username,
                'password' => $password));
$mail = $smtp->send($to, $headers, $body);
if (PEAR::isError($mail)) {

" . $mail->getMessage() . "


Message successfully sent!

"); }

© 2020 Westman Communications Group | Privacy Policy / CCTS