• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making form submission generate email and update database.

#11
[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*** <<<<<<<<<<<<<<

#12
[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?

#13
[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 ????

#14
[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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.