Author Topic: mail() function problems  (Read 1518 times)

gideon

  • Posts: 1
    • View Profile
mail() function problems
« on: February 11, 2008, 12:04:43 pm »
Hey,

I'm new to listmailPro and am hoping to use it to manage several mailing lists on a series of sites that I run.

I've set up the SMTP and everything and I recieved the test email so everything is working there.

The problem is the confirmation and welcome emails (ie. the ones that use the mail(); function) do not send.

Now my host is a bit funny with the mail() function, it requires a declaration like this :

ini_set("sendmail_from", " email@ngomedia.org.uk");

To be put before the execution of any mail function as to avoid people using fake addresses I guess.

So I guess that's where the problem is.

Does anybody have any suggestions that could help. I have a fairly basic knowledge of php so if I need to add this line in, where would I do it?

Thanks in advance.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
mail() function problems
« Reply #1 on: February 12, 2008, 07:43:00 am »
I wonder if you can achieve the same thing with the 5th parameter to PHP mail.  This is supported in an undocumented feature, mentioned here:

http://listmailpro.com/forum/index.php?topic=2016.0

If you wanted to manually add the code to LMP, start with a search in "admin.php" for "mail(".

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting