Send email using Codeigniter in 1and1 server
Tech-Today

Send email using Codeigniter in 1and1 server


I get a timeout at first try. Using the default mail type from codeigniter will not, to use the built in email feature from codeigniter we have to change protocol into smtp:

Like this:

$config['mailtype'] = 'html';
$config['protocol'] = 'smtp';
$config['smtp_host'] = "smtp.1and1.com";
$config['smtp_user'] = "[email protected]";
$config['smtp_pass'] = 'yourpassword';
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
$config['smtp_port'] = 587 ; //because we're using SSL


For the list of 1and1 mail protocol:

POP:
host: pop.1and1.com
port: 110
port: 995, SSL

IMAP:
host: imap.1and1.com
port: 143
port: 993, SSL

SMTP:
host: smtp.1and1.com (requires authentication)
port: 25
port: 587, SSL




- How To Send An Email In Glassfish Using Javamail Session Injection
This tutorial will teach us how to send an email in Glassfish using JavaMail session injection. It use gmail for sending the email. Steps: 1.) First we need to create a JavaMail session by, opening Glassfish admin: http://localhost:4848, and navigating...

- Changing Jboss Server's Default Http Port
If you have installed jboss server in: C:\jboss-5.1.0\ then here's what you should do to change the default port (8080) to any port of your choice. 1.) Open the file, C:\jboss-5.1.0\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml...

- Codeigniter Attach Html To Email
If you have this kind of error, just check the way you'r calling the email library. Be sure to add this line. $config['mailtype'] = 'html'; $this->email->initialize($config); And it might save you from lots of trouble....

- How To Create A New Index Inside A Subdirectory In Codeigniter
I am using codeigniter framework in my php project and I have a requirement like this: When the url is */admin/, the application should call the index.php inside the admin folder. Folder structure: +codeigniter app +application +controller +index.php...

- Make_sock: Could Not Bind To Address 0.0.0.0:80
I am developing a web application and is testing it on my localhost, when suddenly the page failed to load. No error, no message. So I went to control panel -> Administrative Tools -> Event Viewer -> application and found 2 error entries related to Apache...



Tech-Today








.