Hai friends

When I send the mail with out from address by default it get "nobody@hostname.com . We need to hardcode the from address . But I dont want to edit the php file . Any Possiblity to edit the php.ini file.
__________________
Thanks
Vssp

There's sendmail_from setting in php.ini, but it's only used on Windows.

HI friend

Thanks for your replay
I am using linux machine Please advice

Unless it is possible to configure sendmail to set the default e-mail, the only way is editing the php code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.