Given below are the solutions to prevent email being user from email@example.com
1. Use PHP script to use SMTP AUTH
This is the best method to avoid mails being sent from username@hostname. If you can configure the mailer to use SMTP and authenticate with SMTP AUTH, this will set the correct "Return-Path" in the headers.
2. Configure PHP script to use -f argument in PHP mail function
Most applications that call the Exim/Sendmail binary will pass the -f switch along with the proper email address to prevent mails being sent from username@hostname.
You need to make sure that the application is using the 5th argument to the PHP mail() function to send the '-f' switch to sendmail so that it sets the correct "Return-Path". The -f argument should be used to set the envelope sender address when using sendmail with the -f sendmail option.
Please note that Crucial Paradigm tech support won't be able to assist with these changes in PHP scripts & customers need to contact a developer to make these changes in PHP scripts.
- 0 Users Found This Useful
How to clear browser cache?Browser cache is a mechanism where the most frequently accessed sites,...
Given below are few commands used to get information about the name-servers used by a domain.1....
Following steps can be used to reset MySQL root password:If you know the current root password...
If you are experieincing a network issue, please first reset your modem and/or router and wait 10...
In some cases website hosted in cPanel server (with Apache) loads very slowly. Here is a quick...
Powered by WHMCompleteSolution