View Feed
group-icon
PHP Programmers
Community for PHP Programmers : Ask questions, doubts and help each other get better at PHP
299 Members
Join this group to post and comment.
kunaljd
kunaljd • Sep 2, 2011

How mail sending functionality works in PHP and JAVA ?

I was wondering if any one has came across
("protocol", "smtp");
("type", "transport");
("class", "com.sun.mail.smtp.SMTPTransport");
("vendor", "Sun Microsystems, Inc.");
("mail.smtp.host", smHost);
("mail.smtp.port", smPort);

these are property sets,will these work in JAVA?

I would like to know the property sets for PHP.
Manish Goyal
Manish Goyal • Sep 4, 2011
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = "D:\xampp\sendmail\sendmail.exe -t"
If i am right , you talking about these settings, these are defined in php.ini file
kunaljd
kunaljd • Sep 5, 2011
Thanks goyal

Share this content on your social channels -