• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trouble sending email controller

#11
(10-08-2019, 10:16 AM)jreklund Wrote:
(10-08-2019, 12:29 AM)pmcr Wrote: I have another controller where email is sent out without any issue 

Okey, then you need to to debug it by passing in everything manually instead of input->post. Not relying on outside factors. And start from there.
how do you recommend to do it ? 
input-> post is somehow related to the form i have that collects info from user .. and then used to send email, right? 
how would you suggest to debut it step by step ?
very much appreciated
Reply

#12
You start off small with a controller only containing the basic.
Code:
mail('mail@codeigniter.com', 'Test E-mail', 'Your message');

After that you add custom headers.

And later on outside $_POST from users.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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