These are chat archives for codeigniter-id/codeigniter-id.github.io

26th
Apr 2017
Samuele
@eleumas
Apr 26 2017 17:46
Hi guys! I have created my first demo with codeigniter and now i would like send an e-mail from the contact page. I have read some guides online but something doesn't works. There is a guide to follow for send a simple mail with name, E-mail and message? Thanks.
Florian Dahlitz
@DahlitzFlorian
Apr 26 2017 18:12

You can't do that on a localhost. You need a Mailserver to see if your code works. If you have one to test, than just use the codeigniter standard library for this. If your Webapp/demo doesn't have SSL make sure that the one you're sending the email to has you in the contact list. Otherwise it will be thrown in the spam directory.

Regards

Samuele
@eleumas
Apr 26 2017 20:12
Hi @DahlitzFlorian thanks for your answer. My demo is online, but i haven't understood how can i send an email. I builded in the views folder my form in html but after i don't know what to do.
Florian Dahlitz
@DahlitzFlorian
Apr 26 2017 20:14
Is your demo made with CodeIgniter? Or just simply HTML, CSS and JS?