David Powers Dreamweaver CS5 with PHP training from the source mail connector problem
Hello,
first I will say great work david this is great book, and i found everything i neede in it.
I have one problem.
I have managed to get to lesson 8 and i couldnt wait so i started live project and incororated everything in it learned from this book.
But this is the problem.
I have hosting on bluehost which makes mail conector from lessons 7-8 with gmail not to send email in example when i try to recover forgoten password.
The scripts changes the token in database in users table, token is created, and i get message that the mail was sent but nothing comes to my mail.
Same password login and everything works local but on bluehost server wont send mail.
I contacted them and they said that i have to create mail on server from which mail will be sent.
I did that too.
But for what ever i put in mailconector array cant get that mail, and i really dont know what to do and who to ask.
Until this point i could get every problem solved put this bugs me because this is the last stage of what i was tryong to do and that is to incorporate login system from the book to live page.
this is the code i have:
<?php
$mailhost='ssl://mail.majapanic-tarot.com';
$mailconfig=array( 'auth' => 'true',
'username' => 'majapanic@majapanic-tarot.com',
'password' => 'password',
'ssl' => 'ssl',
'port' => '465');
$transport=new Zend_Mail_Transport_Smtp($mailhost,$mailconfig);
Zend_Mail::setDefaultTransport($transport);
and this is what they stated in info about the mail:
Mail Server Username: majapanic+majapanic-tarot.com >>>>>>>> this plus i think is (at)
Incoming Mail Server: mail.majapanic-tarot.com
Incoming Mail Server: (SSL) box344.bluehost.com
Outgoing Mail Server: mail.majapanic-tarot.com (server requires authentication) port 26
Outgoing Mail Server: (SSL) mail.majapanic-tarot.com (server requires authentication) port 465
Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)
Please HELP!
