reGative Posted July 23, 2012 Report Share Posted July 23, 2012 (edited) Labdien! Iemēģinu e-pasta izsūtīšanu no PHP. Atradu SwiftMailer wrapper'i Kohana'i - https://github.com/luwe/kohana-email . Tātad, ir šāds kods - Kontrollers: https://gist.github.com/3162873 Skats: Hello! <a href="http://localhost/friends_com/forgot_password/user/<?=$user_id?>/<?=$unique_id?>?>">Go to there!</a> Bet, šis man izvada to Exception un tur, kur ir mainīgais, tur ir integer 0. Ceru, ka te ir kāds, kuram ir kaut neliela pieredze e-pastu sūtīšanā no php vai kādam framework'a. Pats to daru pirmo reizi. Edited July 23, 2012 by reGative Link to comment Share on other sites More sharing options...
daGrevis Posted July 23, 2012 Report Share Posted July 23, 2012 Formatē kodu, lai šams ir lasāms! Izmanto Gist.GitHub. :) Link to comment Share on other sites More sharing options...
reGative Posted July 23, 2012 Author Report Share Posted July 23, 2012 Atvainojos, bet vai te tiešām nebūtu kāds, kas pateiktu, kas par lietu? Link to comment Share on other sites More sharing options...
reGative Posted July 23, 2012 Author Report Share Posted July 23, 2012 Problēma bija tur, ka domāju, ka varēs iztikt bez SMTP konfigurācijas un aizsūtīt bez tā visa e-pastu, bet tur nepieciešama SMTP konfigurācija. Tēmu slēdzu. Link to comment Share on other sites More sharing options...
Recommended Posts