HTML Email Message Not Working? |
[eluser]Corey Freeman[/eluser]
I dunno what's wrong with my code, but I can't get the HTML to render. For some reason it's sending the HTML view in plain text. Code: //Email the User VIEW Code: <html>
[eluser]JHackamack[/eluser]
Have you made sure to include: Code: $config['mailtype'] = 'html';
[eluser]Corey Freeman[/eluser]
Ah. It's all so clear now. I'm a moron... Thanks.
[eluser]Zocee[/eluser]
I'm having a weird problem here please see the following link: http://ellislab.com/forums/viewthread/163620/
[eluser]ModernM[/eluser]
Many thanks, this helped me get my HTML email working. By the way, how did you get the secret URL to work. What I have is a email view like yours that send out an email, but I want to have a link to a file that is encrypted or somewhat hidde, so the user doesnt see the direct URL. Something like http://www.site.com/files/ASe123ASr12DASD . I am new to PHP but I am managing pretty well, any help in the right direction would help. Thanks
[eluser]Samus[/eluser]
[quote author="ModernM" date="1337999579"]Many thanks, this helped me get my HTML email working. By the way, how did you get the secret URL to work. What I have is a email view like yours that send out an email, but I want to have a link to a file that is encrypted or somewhat hidde, so the user doesnt see the direct URL. Something like http://www.site.com/files/ASe123ASr12DASD . I am new to PHP but I am managing pretty well, any help in the right direction would help. Thanks[/quote] Create a random string, any method you want. Store that string in your database. Use an arguement in your controller method that will accept that random string. Within your controller method, have a model which looks for that random string. If it matches one, do something, else do something else. |
Welcome Guest, Not a member yet? Register Sign In |