GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Help with Postfix and Dreamhost (https://gfy.com/showthread.php?t=605070)

Young 05-03-2006 01:53 AM

Help with Postfix and Dreamhost
 
i can always move it to my sendmail host but i got some virtual space on dreamhost to burn.

Just wrote a little script to allow people to send links to friends right from the page. I am using Send() and everything is working fine.

I have one problem though. My FROM address is [email protected]. I would like to have it be my own custom address.

Can anybody lend a hand with postfix?

PussyTeenies 05-03-2006 01:57 AM

why not use a script that also includes that :)

or make a use rewrite
http://www.postfix.org/rewrite.html

Young 05-03-2006 02:02 AM

Quote:

Originally Posted by PussyTeenies
why not use a script that also includes that :)

or make a use rewrite
http://www.postfix.org/rewrite.html

I looked at the rewrite.html link you sent to me earlier. That mind as well be jibberish to me.

I am pretty new to PHP and am using just the Send() line to send out my e-mails. I have no clue how to implement the rewrite rules.

martinsc 05-03-2006 02:27 AM

check this out
http://il2.php.net/mail

vantage 05-03-2006 02:29 AM

This is a PHP problem not a Postfix problem.
Try this:

PHP Code:

$Mail_to '[email protected]';
$subject'This is my subject...';
$Message'Hi, this is my mail message....';
$header 'From: [email protected]"\r\n" .
   
'Reply-To: [email protected]"\r\n" .
   
'X-Mailer: PHP/' phpversion();

mail($Mail_to$subject$Message$header); 



All times are GMT -7. The time now is 09:18 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123