Where in this PHP file do I insert the file name that has our email template?

hi guys,

We've installed the Amazon SDK for PHP in order to use their API for sending out emails.

Here is the link: http://geekw3.com/2015/04/11/amazon-ses-integration-using-php-sdk/

I was told, we can literally copy and paste this file but just make some minor changes. We have a file called 'test.php' sitting on our directory which consists of all the content that needs to go out in our email. It is our email template.

Can you tell me where in this link I can put the 'test.php' file in order for this to work?

Thank you
Yashy
LVL 1
YashyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
I wouldn't even try to use this PHP code.  It's incompetently written and it's posted in a "forum" that doesn't make much sense.  See the attached CAPTCHA image for an example of why I say this is not the place to look for a code example.

Good code examples can often be found with the SDK documentation or on GitHub.  As a general rule, you want to choose code examples that are relatively recent and are widely used in other web sites.  Throw this idea away and go back to the drawing board!
Small wonder that nobody has commented on this piece of junk!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sajayj2009Commented:
$strMailContent = '<HTML VERSION OF MAIL CONTENT>';
0
YashyAuthor Commented:
thanks guys. Are you able to point us int he right direction?

I mean, we've been at this for literally under one week.

Hows this; http://webdesign.tutsplus.com/tutorials/getting-started-with-amazon-simple-email-service-ses--cms-21688
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.