tips:mailconfig
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
tips:mailconfig [2009-12-01 10:35] – 80.59.14.169 | tips:mailconfig [2024-02-02 16:00] – [(older comments)] 2a01:cb00:21:a00:5d08:da6e:3a0e:6b14 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Sending mails with SMTP ====== | ====== Sending mails with SMTP ====== | ||
- | There is a plugin for [[plugin:swiftmail]] available that handles sending mails over external SMTP servers. Read on the [[plugin:swiftmail|plugins page]] for details. | + | There is a [[plugin:smtp|SMTP Plugin]] available that handles sending mails over external SMTP servers. Read on the [[plugin:smtp|plugins page]] for details. |
Everything below is no longer needed and shouldn' | Everything below is no longer needed and shouldn' | ||
Line 147: | Line 147: | ||
return @mail($to, | return @mail($to, | ||
</ | </ | ||
- | |||
===== Unix (Linux) sendmail setup ===== | ===== Unix (Linux) sendmail setup ===== | ||
Line 166: | Line 165: | ||
< | < | ||
; For Unix only. You may supply arguments as well (default: " | ; For Unix only. You may supply arguments as well (default: " | ||
- | sendmail_path = / | + | sendmail_path = / |
</ | </ | ||
- | Replace ''' | + | Replace ''' |
**(2)** If for some reason you can't do (1), another solution is to create a script that | **(2)** If for some reason you can't do (1), another solution is to create a script that | ||
Line 190: | Line 189: | ||
:!: This [[http:// | :!: This [[http:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
Note: Windows installations can use the "fake sendmail" | Note: Windows installations can use the "fake sendmail" | ||
Line 200: | Line 200: | ||
I would also like any news on running through a different SMTP server on the network. | I would also like any news on running through a different SMTP server on the network. | ||
- | + | [[https:// | |
- | > I've not been successful in running Sendmail for Windows, yet. Has anyone managed to run Sendmail for Windows successfully? | + | ]]> I've not been successful in running Sendmail for Windows, yet. Has anyone managed to run Sendmail for Windows successfully? |
>> Try using sendmail_path = \" | >> Try using sendmail_path = \" | ||
Line 214: | Line 214: | ||
>>>>> | >>>>> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
> After modify php.ini, remember to **restart Apache server**, or you will still get an error. -- Fwolf (2005.09.07) | > After modify php.ini, remember to **restart Apache server**, or you will still get an error. -- Fwolf (2005.09.07) | ||
> Try to use the first method which simply modifies PHP.ini. I failed with the second one which requires sendmail.exe but succeeded with the first one. :-D -- Minyang (2006.12.05) | > Try to use the first method which simply modifies PHP.ini. I failed with the second one which requires sendmail.exe but succeeded with the first one. :-D -- Minyang (2006.12.05) | ||
>> This may have been due to the 8.3 path issue mentioned in the [[#One Example of Configuring Windows XP with PHP 5 using Method #2|Windows example]]. | >> This may have been due to the 8.3 path issue mentioned in the [[#One Example of Configuring Windows XP with PHP 5 using Method #2|Windows example]]. | ||
- |
tips/mailconfig.txt · Last modified: 2024-02-02 17:15 by Aleksandr