Promotional text being added while sending mail !!!

Hi there ,I was a adding a login/registration system to my site.
In it a mail is sent to the user to verify their account ,to reset their account password, to welcome user upon successful registration and a few more mails.
But when i tested the system i realized that at the end of mail a line
_ “Get premium hosting from https://ifastnet.com, free domain name, unlimited disk space, far too many features to list.”_
was automatically being added that was not it below it there was a line :-- _"Spam Filtered (22127459) " _
Both these lines are ruining my mails !!!
How can these 2 lines be deleted ???
they are making the mail’s impression poor!!!

@Rikhi55 said:
Hi there ,I was a adding a login/registration system to my site.
In it a mail is sent to the user to verify their account ,to reset their account password, to welcome user upon successful registration and a few more mails.
But when i tested the system i realized that at the end of mail a line
_ “Get premium hosting from https://ifastnet.com, free domain name, unlimited disk space, far too many features to list.”_
was automatically being added that was not it below it there was a line :-- _"Spam Filtered (22127459) " _
Both these lines are ruining my mails !!!
How can these 2 lines be deleted ???
they are making the mail’s impression poor!!!

Unfortunately this is not our error, it is iFastnet’s.
They are adding this thing to attract new customers.
You cannot disable it, but you can use free SMTP from GMAIL and config your program to send mail from there.

or better
https://infinityfree.net/support/how-to-send-email-with-gmail-smtp/
Look, That is why PHP sendmail is limited.
https://infinityfree.net/support/php-mail/

@ChrisPAR said:

@Rikhi55 said:
Hi there ,I was a adding a login/registration system to my site.
In it a mail is sent to the user to verify their account ,to reset their account password, to welcome user upon successful registration and a few more mails.
But when i tested the system i realized that at the end of mail a line
_ “Get premium hosting from https://ifastnet.com, free domain name, unlimited disk space, far too many features to list.”_
was automatically being added that was not it below it there was a line :-- _"Spam Filtered (22127459) " _
Both these lines are ruining my mails !!!
How can these 2 lines be deleted ???
they are making the mail’s impression poor!!!

Unfortunately this is not our error, it is iFastnet’s.
They are adding this thing to attract new customers.
You cannot disable it, but you can use free SMTP from GMAIL and config your program to send mail from there.
How to Use a Free SMTP Server for WordPress Emails
or better
https://infinityfree.net/support/how-to-send-email-with-gmail-smtp/
Look, That is why PHP sendmail is limited.
https://infinityfree.net/support/php-mail/

@ChrisPAR what should be the file name of the script given in the kb link ??