Hi,
Do I need to login to my email account through IE and keep it open? |
No, this isn't needed.
In the script sendusing is = 2 "mConfig.Fields.Item(schema + "sendusing") = 2 ' cdoSendUsingPort" I'm using this line as it is, do I need to change it? |
The sendusing field specifies the method used to send messages. "2" means that the message should be sent via the network. Go through this MSDN section to get detailed information on configuring the CDO scheme.
should this file be of any format |
According to the MSDN description of the CDO.Message.AddAttachment method, you can add any type of attachment to a message.
do I need to mention this anywhere in the script |
No, you needn't.
A few more things to try:
* Use port 25 or 465 (not 587).
* If your Google Apps domain uses 2-step verification, you may need to generate an application-specific password for your account and use that password in your script instead of the Google Apps account password.
Finally, I'd like to note that the CDO (Collaboration Data Objects) library used in your script is developed and maintained by Microsoft, and we don't provide technical support for third-party scripting objects. So, I recommend troubleshooting this issue with your system administrator and a Google Apps administrator, on MSDN Forums or Stack Overflow. You'll more likely get an answer there. In addition to that, you can find troubleshooting tips using Google search for cdo "google apps".
Good luck!
Ann