Mail Help - Joomla! Forum - community, help and support
hello,
i faced problem can't seem around. want use joomla mail server send ~ 500 e-mails on weekly basis each 1 unique different recipients. using java program upload e-mails server uses following basic code (to keep things simple use 'www.mysite.com'):
my joomla mail settings follows:
mailer: php mail function
mail from: joomla@mysite.com
from name: <none>
sendmail path: /usr/sbin/sendmail
smtp authentication: no
smtp security: none
smtp port: 25
smtp username: <none>
smtp password: <none>
smtp host: localhost
i know firstly if joomla allow program such function in sending of ~ 500 e-mails , secondly if changes need made in program or serverside in order have them function together.
thanks much,
michael
i faced problem can't seem around. want use joomla mail server send ~ 500 e-mails on weekly basis each 1 unique different recipients. using java program upload e-mails server uses following basic code (to keep things simple use 'www.mysite.com'):
code: select all
props = system.getproperties();
props.put("mail.smtp.host", "smtp.mysite.com");
props.put("mail.smtp.auth", "false");
props.put("mail.smtp.port", "25");
//other stuff....
session = session.getdefaultinstance(props,
new javax.mail.authenticator() {
protected passwordauthentication getpasswordauthentication() {
return new passwordauthentication(fromadr, frompw);
}
});
//other stuff...
//adresses, subjects , bodytext stacks containing unique email information
message message = new mimemessage(session);
message.setfrom(new internetaddress( fromadr));
message.setrecipients(message.recipienttype.to,
internetaddress.parse(adresses.get(0)));
message.setsubject(subjects.get(0));
message.settext(bodytext.get(0));
transport.send(message);
my joomla mail settings follows:
mailer: php mail function
mail from: joomla@mysite.com
from name: <none>
sendmail path: /usr/sbin/sendmail
smtp authentication: no
smtp security: none
smtp port: 25
smtp username: <none>
smtp password: <none>
smtp host: localhost
i know firstly if joomla allow program such function in sending of ~ 500 e-mails , secondly if changes need made in program or serverside in order have them function together.
thanks much,
michael
joomla doesn't have mail server, accesses php mailer on server. combining java , php sounds bad idea me, i've not tried it. if wish java program sending mail server joomla site sits on, forget integrating things joomla , access php mailer directly.
can't code, bet information out there if it.
can't code, bet information out there if it.
Comments
Post a Comment