in reply to how to use perl script to send email from exchange like we use perl for gmail server

If you read the source of Email::Send::Gmail , it is setting the SMTP server address for Gmail (smtp.gmail.com). You need to set Email::Send to use your company's Exchange SMTP server address.

Caution: some companies only allow authenticated SMTP transactions. If this is the case, you will have to look into doing Authenticated SMTP via Email::Send. In this case, emails sent by the process will need to store the credentials of the user from whose mailbox you wish it to be sent. I would recommend that you use an encrypted file for that purpose to avoid storing it in clear text.

  • Comment on Re: how to use perl script to send email from exchange like we use perl for gmail server