Sending mail from Apache Module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First post to this group, so please forgive anything I'm doing wrong.

Environment: I develop a small booking solution using a RaspberryPi, the Apache server and - besides plain HTML pages - an Apache module written in C/C++ to handle booking logic requests.

Problem: everything is going fine except for sending a confirmation mail to users once a booking has been successful. I use https://github.com/somnisoft/smtp-client as a simple C based SMTP client embedded into the module. While the function to send a mail is working fine when compiling it as a separate C program and running it from the command line, it fails when embedding  the function into my Apache module. For SMTP, port 465 and TLS security (openssl) is used.

Question: is it possible the server blocks outgoing traffic to an external SMTP server using a specific port? Can this be white listed somewhere in Apache configuration?

Thanks and greetings Harald


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux