Search found 9 matches

by henrygao
Wed Aug 22, 2007 10:46 am
Forum: Swift Mailer
Topic: [SOLVED] very strange problems
Replies: 6
Views: 2782

d11wtq wrote:Where did you find that documentation? That old old code (and you're getting fatal errors, hence the halt).

http://www.swiftmailer.org/wikidocs/v3/smtpauth
hi d11wtq:
finally i solved the problems. you are right, it is the auth issues!
so happy about it and million thanks for your kind help :)
by henrygao
Wed Aug 22, 2007 8:27 am
Forum: Swift Mailer
Topic: [SOLVED] very strange problems
Replies: 6
Views: 2782

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] any, i m ...
by henrygao
Wed Aug 22, 2007 8:22 am
Forum: Swift Mailer
Topic: [SOLVED] very strange problems
Replies: 6
Views: 2782

Not working? Sounds like your SMTP server only allows incoming emails to be sent through it. Either you need to provide a username and password or you need to use a different server. Actually the server is my owne server. after I config it, i can send/receive email for this domain email from both o...
by henrygao
Wed Aug 22, 2007 8:02 am
Forum: Swift Mailer
Topic: [SOLVED] very strange problems
Replies: 6
Views: 2782

[SOLVED] very strange problems

I [s]m[/s] am supposed to send mail from support@mydomain.com to recipents@mail.com but the code (as below) is not working ($swift->send($message, recipients@mail.com , "support@mydomain.com" )) however, the below code is working well. ($swift->send($message, "support@mydomain.com&quo...
by henrygao
Wed Aug 22, 2007 5:18 am
Forum: PHP - Code
Topic: PHP mail problems.
Replies: 9
Views: 528

for the feedback function which i mention is working, the out is: SMTP: localhost smtp_port: 25 sendmail_from: sendmail_path: bool(false) the smtp server at localhost:25 is either not running or does not accept the mail. please try $sd = fsockopen('localhost', 25, $errno, $errstr, 5); if ( false===...
by henrygao
Wed Aug 22, 2007 5:12 am
Forum: PHP - Code
Topic: PHP mail problems.
Replies: 9
Views: 528

new findings

thanks for [s]ur[/s] your info. but i just have a new finding and hope this may give some clue on this issues. @mail($in['Email'], $title , $tmp . $in['Content'], $headers) only works if $in['email'] is support@domain.com or sales@domain.com (i only configed this two mail), all the rest (etc abc@mai...
by henrygao
Wed Aug 22, 2007 3:26 am
Forum: PHP - Code
Topic: PHP mail problems.
Replies: 9
Views: 528

please try ... $headers .= "To: domain.com <support@domain.com>\r\n"; foreach( array('SMTP','smtp_port','sendmail_from','sendmail_path') as $p ) { echo $p, ': ', ini_get($p), "<br />\n"; } $retval = mail("support@domain.com", SYS_NAME . $title, $str, $headers); var_dum...
by henrygao
Wed Aug 22, 2007 3:07 am
Forum: PHP - Code
Topic: PHP mail problems.
Replies: 9
Views: 528

Re: PHP mail problems.

twigletmac There's a mod you don't see everyday. PHP's native mail() function has difficulties on some servers, as many paranoid hosts disable it (usually only for shared hosting). You could try SwiftMailer and utilize one of the different methods. hi superdezign: which mod your refer to? actually ...
by henrygao
Tue Aug 21, 2007 2:18 am
Forum: PHP - Code
Topic: PHP mail problems.
Replies: 9
Views: 528

PHP mail problems.

twigletmac | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] dea...