username/password SMTP settings

Discussion about the open-source Phalanger [?] project.

username/password SMTP settings

Postby mcintyre321 » June 15th, 2012, 1:51 pm

Hi,
I am running wordpress on Appharbor, and want to hook up Wordpress with the Mailgun SMTP service. The SMTP server needs a username and password, but in the config section there aren't any examples for setting these values.

Is this supported, and if so how?

thanks

Code: Select all
<mailer>
            <!-- SMTP server name used for sending e-mails. -->
            <set name="SmtpServer" value="localhost" phpName="SMTP" />

            <!-- SMTP server port used for sending e-mails. -->
            <set name="SmtpPort" value="25" phpName="smtp_port" />

            <!-- The default value of "From" header. -->
            <set name="DefaultFromHeader" value="phalanger@localhost.cz" phpName="sendmail_from" />
         </mailer>
mcintyre321
 
Posts: 2
Joined: June 15th, 2012, 12:32 pm

Re: username/password SMTP settings

Postby Jakub Misek » June 15th, 2012, 1:57 pm

PHP does not have any settings for SMTP username and password.

However it would be possible to make this feature in Phalanger, ideally using standard .NET credentials ...
Currently it behaves as PHP does, so you need an additional PHP library handling SMTP (http://stackoverflow.com/questions/1121 ... e-password)
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: username/password SMTP settings

Postby mcintyre321 » June 15th, 2012, 3:12 pm

Thanks for the info. PHP is a funny old thing eh?
mcintyre321
 
Posts: 2
Joined: June 15th, 2012, 12:32 pm

Re: username/password SMTP settings

Postby Jakub Misek » June 15th, 2012, 3:23 pm

It is, luckily we can make it better :-)

Actually Phalanger supported SMTP credentials, since it was using standard .NET SmtpClient. It had to be reimplemented in PHP way for compatibility reasons ... anyway it would be nice to use standard .NET Smtp settings again.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 8 guests

cron

User Control Panel

Login

Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 8 guests