View Issue Details

IDProjectCategoryView StatusLast Update
0008006mantisbtemailpublic2007-08-02 02:32
Reporterdeboutv Assigned Togiallu  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Product Version1.1.0a2 
Summary0008006: Add port option to the phpmailer config
Description

Is it possible to add an option to configure the SMTP port (instead of leaving the value 25 by default)?

TagsNo tags attached.

Activities

giallu

giallu

2007-05-26 18:36

reporter   ~0014644

I think it is already there; try using something like:

$g_smtp_host = 'host:port';

and let me know if that works for you.

sirshurf

sirshurf

2007-05-28 03:38

reporter   ~0014645

if its not, it should not be a problem since phpmailer supports it...

deboutv

deboutv

2007-05-29 02:47

reporter   ~0014649

I didn't try (PHPMailer doc confirms the format you give me). Maybe this format (host1:port1;host2:port2) could be explained in the comments of the config_default_inc.php file?

giallu

giallu

2007-05-29 17:53

reporter   ~0014652

Ok. I am going to add this sentence:

You can specify a different port by using this format: [hostname:port]

but please test the feature and let me know if it works as expected.

deboutv

deboutv

2007-06-08 02:55

reporter   ~0014706

I didn't forget ;)

I need time because this feature is not for me (I need to configure my SMTP server to listen on another port)...

vboctor

vboctor

2007-06-09 11:15

manager   ~0014724

Once we confirm that the port and multiple SMTP server support works, we should document it in config_defaults_inc.php or add a link to the phpmailer website where such format is described.

deboutv

deboutv

2007-06-10 10:14

reporter   ~0014740

It's okay.
'host:645' => timeout (no SMTP server listening on the port 645).
'host:25' => okay and mail received.

giallu

giallu

2007-06-28 19:15

reporter   ~0014831

I refined the documentation for the option in config_default_inc.php.

Feel free to open a new bug if this does not work.