Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
dmx1

Zend Mail

Recommended Posts

Hi Larry,

I have a few questions for you regarding the zend mail installation.

1) Are there any step by step instructions on how to install the correct zend framework version that you use in the first edition of your book

2) Could you tell me what version of the zend framework you used in the first edition of the book.

3) Could you provide the link to the version you used in the first edition of the book so I can copy the correct files.

4) I downloaded the composer file and the zend framework 3, but the files don't seem to correspond to the code in the email_receipt.php page.

That's why I think I have a different zend framework version from the one you downloaded.

5) I can't seem to find the location for:

include ('Zend/Mail.php');

in zend framework 3

 

6) When you create the following line:

$mail = new Zend_Mail();

what class are you referring to regarding the object creation, and where can it be located please.

 

Thanks

Share this post


Link to post
Share on other sites

The first edition is 9+ years old right now, so I'm not sure you should use that version of Zend, even if it's still available. It looks like Zend Mail is now installed via Composer: https://docs.zendframework.com/zend-mail/

Code examples for the current version of Zend Framework can be found here: https://docs.zendframework.com/zend-mail/message/intro/ 

Let me know if you need more help updating the book's example for the current version of ZF. 

Share this post


Link to post
Share on other sites

Hi Larry,

 

I've managed to sort the problem out now!

 

It was really tricky because the files you used are years old, and I was using the current zend framework files, which didn't correspond to the code in your book. That's why I was having problems.

 

I've reached the final.php page now.

 

regards

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...