sendmail_from(changing the value in the ini file)
Moderator: General Moderators
sendmail_from(changing the value in the ini file)
can anyone show me how to do this...i believe this is the reason why the mail function that im using is not working....where do i change it in the ini file and what do i change it to?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
There should only be a single place where it is set in the ini file.
http://php.net/ref.mail#ini.sendmail-from explains what you set it to.
Alternatively, you could use Swift or phpMailer.
http://php.net/ref.mail#ini.sendmail-from explains what you set it to.
Alternatively, you could use Swift or phpMailer.
i changed the following lines like the manual said but my test still reflects no_value also i still get the errors when i run the program
[mail function]
; For Win32 only.
SMTP = smtp.wispnet.net
smtp_port = 80 <- i also tried this on port 25 and it didnt work that way either
; For Win32 only.
sendmail_from = Obadiah_00@hotmail.com
also im using xampp....how would i implement swift or phpmailer with that
[mail function]
; For Win32 only.
SMTP = smtp.wispnet.net
smtp_port = 80 <- i also tried this on port 25 and it didnt work that way either
; For Win32 only.
sendmail_from = Obadiah_00@hotmail.com
also im using xampp....how would i implement swift or phpmailer with that
okie....but that still doesnt answer the question as to how or why the other solution isnt working...and lets assume just for kicks and giggles that i download one of these programs....if i make a change to the php.ini file like i did before with that other solution....what is to say that the other programs will work or that php will recognize the change to the ini file....because it didnt recognize any of the changes before....no disrespect intended but please read the post entirely before replying.
@feyd=ahh sorry bout that i didnt think to restart....my badd you should have told me what i tell my girlfreind when shes being a total meat head, "try Alt+F4" lol....but that gets me hit....alot
k...i made the changes but now i get
Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 Rejected 139.55.117.237 found in dnsbl.sorbs.net in C:\Program Files\xampp\htdocs\PHP\Login.php on line 204
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\PHP\Login.php:204) in C:\Program Files\xampp\htdocs\PHP\Login.php on line 205
what should i do?
i tried alt+f4 but doesnt work with this one
k...i made the changes but now i get
Warning: mail() [function.mail]: SMTP server response: 554 5.7.1 Rejected 139.55.117.237 found in dnsbl.sorbs.net in C:\Program Files\xampp\htdocs\PHP\Login.php on line 204
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\PHP\Login.php:204) in C:\Program Files\xampp\htdocs\PHP\Login.php on line 205
what should i do?
my super said he would look into the blacklist deal....i had no idea what a blacklist was when you told me that but that other problem is a real concern and somethin tells me even if we get the blacklist problem fixed it still will not email unless i correct the second error
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\PHP\Login.php:204) in C:\Program Files\xampp\htdocs\PHP\Login.php on line 205
all that line 205 says is
i think that all that does is it sends the user to what is supposed to be his personalized version of the site(see <a href="viewtopic.php?t=53769">original post</a>)
what could be causing this problem?
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\PHP\Login.php:204) in C:\Program Files\xampp\htdocs\PHP\Login.php on line 205
all that line 205 says is
Code: Select all
header("Location: $next_program");what could be causing this problem?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
You have a warning echoing out. That causes the headers to send and further calls to header() to fail and also show warnings.
viewtopic.php?t=1157 explains the error and fixes in more detail. headers_sent() may be of interest too.
viewtopic.php?t=1157 explains the error and fixes in more detail. headers_sent() may be of interest too.