2017 © Pedro Peláez
 

library messaging

messaging service

image

mhndev/messaging

messaging service

  • Sunday, April 9, 2017
  • by majidphpdeveloper
  • Repository
  • 1 Watchers
  • 2 Stars
  • 94 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Messaging Service

Test with Gmail mail server

$message = new \mhndev\messaging\EmailMessage(
    'majid_hosseini70@yahoo.com',
    'my message body',
    'my subject',
    'majid8911303@gmail.com',
    'naderi.payam@gmail.com',
    'h.mohayeji@gmail.com'

);

$myEmail = 'sampleUser@gmail.com';
$myEmailPassword = 'password';

$transporter = new \mhndev\messaging\SmtpSwiftTransporter('smtp.gmail.com', 465, 'ssl' , $myEmail, $myEmailPassword);

$transporter->transport($message);

Send Sms

$novinPayamak = new \mhndev\messaging\NovinPayamak([
    'wsdl' => 'http://www.novinpayamak.com/services/SMSBox/wsdl',
    'Auth'=> [
        'number'=> '50005725045',
        'pass'=>'password',
    ],
    'encoding' => 'UTF-8'
]);

$message = new \mhndev\messaging\SmsMessage('09355497674', 'Mr Naderi Sms works too ;). good night.');
$result = (new \mhndev\messaging\twoGMessageTransporter())->setProvider($novinPayamak)->transport($message);

var_dump($result);
die();

The Versions

09/04 2017

dev-master

9999999-dev

messaging service

  Sources   Download

MIT

The Requires

 

The Development Requires

messaging

09/04 2017

dev-develop

dev-develop

messaging service

  Sources   Download

MIT

The Requires

 

The Development Requires

messaging

09/04 2017

1.0.2

1.0.2.0

messaging service

  Sources   Download

MIT

The Requires

 

The Development Requires

messaging

09/04 2017

1.0.1

1.0.1.0

messaging service

  Sources   Download

MIT

The Requires

 

The Development Requires

messaging

26/02 2017

1.0.0

1.0.0.0

messaging service

  Sources   Download

MIT

The Requires

 

The Development Requires

messaging