overridePreferencePOP3Host

Could anyone be able to detail what the format of the overridePreferencePOP3Host paramter is when using plugins.mail.receiveMail

I have successfully sent emails so I tried the format used when sending emails but am getting a null response so I assume this is incorrect

e,g.

var authorization = new Array('mail.smtp.host=mail.myhost.com', 'mail.smtp.auth=true', 'mail.smtp.port=25', 'mail.smtp.username=me, 'mail.smtp.password=mypwd');

var msgs = plugins.mail.receiveMail('me','mypwd',true,null,null,authorization)

thx.

Yummy,

Try adding “mail.pop3.host=your.pop3host.com” to the array.

Rob

Tried that but still got a null response … in addition I also changed the port for pop3 to 110 which is the port they use for incoming mail

Have a look at the available properties here:

http://java.sun.com/products/javamail/j … mmary.html

Btw, do you see anything in the logs?

Rob

Thanks Rob,

Got the info on parameters from the link you posted, set it to following and it connected ok

var authorization = new Array('mail.smtp.host=mail.myhost.com',  'mail.smtp.port=110', 'mail.smtp.user=me);

.