Hi Vijay,

On Wed, Jun 19, 2013 at 5:57 PM, vijay siva <[email protected]> wrote:

> Hi to every one.
>
> my task is send to email with using AWS.
>
> so i have sign up for (Amazon Web Services)AWS . and i have got secrete
> keys, and keys.i have downloads SDK for PHP and i have copy,past to my
> direct path(/opt/lampp/htdocs/amazon/aws)
>
>
> i have write the initals(fresh) code.below these codes
>
>
> <?php
>
> // Include the SDK using the Composer autoloader
> require 'amazon/aws/aws-autoloader.php';
>
> use Aws\S3\S3Client;
>
> // Instantiate the S3 client with your AWS credentials and desired AWS
> region
> $client = S3Client::factory(array(
>             'key' => 'AKIAI3RFK7VX6KPAVWQQ',
>             'secret' => 'nfvjefVOCfGmCkwDfWtwdyJi12Prvum3K86ab5hZ',
>         ));
>
>
>
> $bucket = 'bala';
>
> $result = $client->createBucket(array(
>     'Bucket' => $bucket
>         ));
>
> // Wait until the bucket is created
> $client->waitUntil('BucketExists', array('Bucket' => $bucket));
> ?>
>
> and save these codes and run  browser ,
>
> but its not working, i have found below these errors
>
>
> Warning: require(aws/aws-autoloader.php) [function.require]: failed to open
> stream: No such file or directory in
> /opt/lampp/htdocs/amazon/aws/servicefactor.php on line 5
>
> Fatal error: require() [function.require]: Failed opening required
> 'aws/aws-autoloader.php' (include_path='.:/opt/lampp/lib/php') in
> /opt/lampp/htdocs/amazon/aws/servicefactor.php on line 5
>
> if any one know AWS please help with me?
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines
>


You have to use AWS Simple Email Service(SES) to send mail.
http://aws.amazon.com/ses/

Currently your using S3, S3 is used for storing files not for email service.

This is a simple PHP library designed for easy interaction with Simple
Email Service. Documentation and example code can be found here:
http://www.orderingdisorder.com/aws/ses/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to