CodeIgniter Forums
Making form submission generate email and update database. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Making form submission generate email and update database. (/showthread.php?tid=9570)

Pages: 1 2


Making form submission generate email and update database. - El Forum - 06-30-2008

[eluser]charlie spider[/eluser]
oh ya...

i forgot to mention...

the emails worked fine on my system ( i'm actaully guilty of spamming myself now )

have you checked what your outgoing email settings are in your php.ini file ?

look for:

Code:
[mail function]
; For Win32 only.
SMTP = ***your outgoing mail server*** <<<<<<<<<<<<<<<<
smtp_port = 25

; For Win32 only.
;sendmail_from = ***your email address for above account*** <<<<<<<<<<<<<<



Making form submission generate email and update database. - El Forum - 06-30-2008

[eluser]Stompfrog[/eluser]
Code:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = [email protected]

I found it, is this right? Can I send mail from my localhost or do I have to get it on a real server? I am running a MAMP set up.

This is all a bit weird tho cos the email worked last week and I haven't touched the php.ini file?


Making form submission generate email and update database. - El Forum - 06-30-2008

[eluser]charlie spider[/eluser]
yes you can use localhost
at least you can on windows

i dunno about mac
but if you were sending email last week then i'm guessing you can

have you tried a good old fashioned reboot ????


Making form submission generate email and update database. - El Forum - 06-30-2008

[eluser]Stompfrog[/eluser]
Restarted... still no luck with the emails, maybe its cos it's monday, perhaps they will work tomorrow!

Thanks for sharing your knowledge.