pappu,
If you are using gmail, this is for you.
This block of code needs to be modyfied.
'SMTP port .Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 'CDO Port (1=localhost 2=network) .Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = intSendUsing 'Use SSL '.Fields("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = 1 |
Copy and paste following lines of code replacing above lines:
'SMTP port .Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 587 'CDO Port (1=localhost 2=network) .Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = intSendUsing 'Use SSL '.Fields("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true |
Notice the
red colored part that needs your attention. First line of code is your port. It must be changed accordingly. If this bunch does not work just replace the port 587 with 465.
Make sure you use in
Email configuration in Admin Panel:
Select
CDOSYS as your mail component
smtp.gmail.com as smtp server
A valid gmail email address as
usernameAnd
password of that email address.
Edited by StarDust - 08 August 2007 at 9:14am