![]() |
Sending Mail
Alright so your first thought is this isnt advanced probably but in my opinion it is.
So i am using this script called 'contact-pop' its a jquery model that uses an ajax powered php form to send mail. It works all good before i edit it how i want. I want to make it so that the user picks a subject and it sends to a certain email. I've got the switching email part down uses if and elseif statements but i am having some issues with sending. See Code At: http://pastie.org/598270 It is attempting to send the email on line 134 email it is going to is defined on line 22 |
Please post your code on the post, it helps others.
PHP Code:
|
It would be much easier to use a switch block
php Code:
|
Alright so i fixed the if statement to and have an else and it still doesnt seem to be working:
PHP Code:
|
| All times are GMT. The time now is 02:04 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0