Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Sending mail after self registration

    Scheduled Pinned Locked Moved Captive Portal
    1 Posts 1 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      michel2013
      last edited by

      Hi all,

      I'm struggling with some mail functionality using a gmail (our domain is handled by gmail)  smtp host. I have created a self registration captive portal in pfsense 2.1 and I would like to send the freshly registered users a confirmation with login and password after the online payment is done. So I need to be able to sent out a email within a captive portal php page.

      Is it possible to just change the php.ini of PfSense? or do I need to use a certain perl script because I'm using gmail (ssl/tls) and this seems not support with the default php mail() function . I didn't found a clear answer on the forums.

      I already take a look at  http://x-ian.net/2012/02/01/pfsense-sending-emails-through-gmail/ . But this seems a little bit to complicated.

      I really appreciate if you can point me to the right direction.

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.