Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Suggestions > Topic : Sendmail and/or SMTP support for outgoing mails



Normal Mode | Print  

Sendmail and/or SMTP support for outgoing mails
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5857
Status:
Hi,

If you have set the correct email address in "From Email Address" field on Softaculous admin panel -> Settings page the from email in headers should be that email only and not root@servername.com

Or you can use the "pre_mail" filter in Softaculous :
https://www.softaculous.com/docs/Filters#pre_mail

This filter is called before sending any email, you can add your custom headers and copy the filter file across all your servers.

You will receive the email in an array as parameter in the above mentioned filter you can add a key "headers" and set your custom headers. You will receive :
Code
Array
(
  [0] => Array
        (
            [to] => Email of USER
            [subject] => Email SUBJECT
            [message] => Email BODY
        )
)


You can add headers and return the following array :
Code
Array
(
  [0] => Array
        (
            [headers] => Email HEADERS
            [to] => Email of USER
            [subject] => Email SUBJECT
            [message] => Email BODY
        )
)


-----------------------
Softaculous
Supercharge your WordPress Hosting with SoftWP (10+ WordPress Pro plugins for Free)
IP: --   


Threads
 How2Solutions   Sendmail and/or SMTP support for outgoing mails (3 Replies, Read 19971 times)
    |--  Brijesh   Hi, We do...   on October 12, 2018, 11:40 am
    |--  How2Solutions   Hi, We do...   on October 12, 2018, 7:01 pm
    |--  Brijesh   Hi, If you...   on October 15, 2018, 9:19 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 22, 2025, 5:32 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.012