I have a Linux Hosting account at 1and1.com, and I’m writing the code locally on a Vista Box running the latest WAMP installation. I switched over to PHP5.
But to authenticate the user, I’m trying to send an e-mail with a link to click and I am having no luck. The 1and1.com server requires authentication, and I don’t think CodeIgniter supports that.
So when I pass the server, user, pass parameters and the message and to link and all, I call the send function as shown in the CodeIgniter online docs. So far I’ve only ever gotten it to time out. I’m not sure where the problem is, but I’m assuming I’m missing something that has to do with 1and1 configuration. I was going to install phpmailer as a library in codeigniter, but I’m looking to see if I can do it with just using straight up CodeIgniter.
Does anyone have experience sending email from php code on a 1and1 server? If so, is there anything in particular (the user authentication is what I’m thinking) I need to consider? I’m only timing out, never getting any other errors. I left the smtp folder to default because 1and1 says their’s is set the same way. Also, I define the ‘smtp’ protocol. Any help is much appreciated!
Chris