Can I email using gmail.
Command
Copy SENDMAIL
Can it be done.
Bob
Only if your web browser knows how to act as a mail client, or if you configure a mail client to send using GMail.
Normally, GMail itself is just a website, as far as Windows is concerned. Some piece of software needs to act as an mail client and intermediary.
(But you can often configure another mail/client server to send emails that say they came from your GMail address.)
I use GMail mostly through the webinterface, but I also have Outlook set up so that it can send messages from GMail. You just have to get it to use smtp server. (smtp.gmail.com)
Getting Dopus to work with that is well above my pay grade.
I started by setting up GMail as the "Internal smtp client". (See Preferences.) GMail seems to use port 465.
Unfortunately, I can't get it to work. Maybe Dopus does not use the same SSL authentication as Outlook
On which, any chance of getting Dopus to handle more than one internal client? I use a raft of them. (Sorry, I realise that this strays off topic, but only just.)
Opus doesn't (currently, at least) support sending email via SSL, which smtp.gmail.com requires, but you can often use your ISP's email server instead (depending on the ISP).
Or use the MAPI mode in Preferences, combined with a proper email client that supports MAPI and can send the email onward using SSL. Opus isn't really aiming to be an email client so what it supports directly, without help from a MAPI client, is pretty limited.
Why would you want to use more than one email client at once?
Because I have Dopus on my laptop, and some hotels are a pain in the derriere, especially in bits of Europe. They block the usual SMTP ports. I often find myself using Google's SMTP server in those circumstances. At home I use my ISP's.
Not really important enough to warrant messing around with Dopus.
You can usually get around those blocks by switching to port 587 instead of 25.
[quote="amerifax"]Can I email using gmail.
Command
Copy SENDMAIL
Can it be done.
Bob[/quote]
If you really want to send a file from dopus, you can do so with either Blat or Mailsend. Blat requires the use of stunnel to do SSL, Mailsend will do SSL as an option and is probably the best choice for sending via gmail (requires SSL).
To use, download Mailsend from code.google.com/p/mailsend/
I have mailsend.1.16.exe.zip
Create a directory to unzip it and rename the executable mailsend.exe (not required to run it but seems like a more friendly name). In my example, I put it in E:\mailsend.
to see the options, run "mailsend -help"
Create a button, with a function of:
E:\mailsend\sendemail.cmd %1 {dlgstring|Enter email To address}
which will prompt for the "send to" email address when you run it. Substitute the directory where you unzipped Mailsend.
Create a command file, sendemail.cmd in the same directory and enter:
E:\mailsend\mailsend.exe -to %2 -from @gmail.com -starttls -port 587 -auth -smtp smtp.gmail.com -sub FileAttached +cc +bc -v -attach %1,-a -user -pass >e:\mailsend\mylog.txt
Make sure there are no line breaks.
Notes:
I selected port 587 in case your ISP blocks port 25, Gmail supports that.
-v selects verbose mode and the full session text will be redirected to mylog.txt. If -v is not selected, nothing will get logged. If the attached file is very large, you probably don't want to run with -v because the file binary will be in the log.
Obviously, I hope, you need to substitute your gmail user id for and password for (do not add the <>'s).
Your name and password will be encrypted when sent to gmail's SMTP server but they are exposed in the .cmd file. If you want to avoid that, just use the dlgstring option in the button function call to enter them.
Note that Gmail is pretty strict about what file extensions it will let you send. Best to just append .txt to the file name.
The default character set is us--ascii, you can change that via the -cs option.
The attachment can be as inline or attached, the ,-a appended to the %1 says make it attached. I think there are some feechures associated with inline and some versions of Outlook. I don't use Outlook so don't know for sure, see the Mailsend site. Lots of info there and a FAQ.
This is a bit heavy for me. At least at this time. I will give it a try soon. Got to go after the smaller fires for now.
Bob