Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old November 23rd, 2009, 12:11 PM
Registered User
 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why

S,

If I do not want to use Outlook, why would you assume I want a MicroSuck product? Especially one that mandates an existing connection to a MicroSuck Network?

Email existed 20 years before MicroSuck knew or cared about it and in the real computing world, so they are alway behind the innovations that are leading edge in email. So why would I want to go to a lagging edge technology instead of leading edge?

I want an SMTP solution that is MicroSuck free, even though it resides within an Excel SS, yes contradictory isn't it. But customer needs it, but will deploy to field laptops which do not have Outlook or Exchange, especially in the field on only WiFi connections.

Sometimes we have to look past our immediate response and look at the real problem, which is neither of the tools you mentioned are available to us for this solution.

Thanks!

OMR
Reply With Quote
  #12 (permalink)  
Old December 10th, 2009, 07:20 PM
Registered User
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sent email using diferent outboxes

How can I send emails using diferent outboxes with a macro, the only solution I found was to enter outlook and change the default account. (outlook-Excel)
Reply With Quote
  #13 (permalink)  
Old December 11th, 2009, 11:30 AM
Registered User
 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Explaination

All,

You all are really stuck on this Window crap. Unbuntu Linux has over 2x distros as Windows and combined Linux world has over 3x OS copies out working.

All these are on Open Office which will open Excel and run the macros. Obviously since on Lunix OS, will not have access to any MicroSuck code, api's, etc.

On Linux side this is rather simple as "SENDMAIL" is a native OS level command, but not so in Windows. The Excel VBA I am writing must be platform independent.

I'm not dissing 3/4 of the potential world-wide customers in favor of the greatly inferior Windows OS.

So back to the problem. For the windows side I found the Outlook & MS independent osSMTP.dll package that I think I can use to create the code, which contains a "SENDMAIL" command.

I'm now looking into the surrounding or supporting parms to see what the differences are between Windows vs Linux, so I can query the system for platform and massage the parms and text with the email accordingly.

Take a look at the osSMTP package. It is definitely a thinner client, not hogging memory or causing any of the errors that the MS-OS interlaced Outlook or MS APIs are routinely guilty of.

Cheers!

OMR

Last edited by OldManRiver; December 11th, 2009 at 11:33 AM.
Reply With Quote
  #14 (permalink)  
Old May 6th, 2011, 05:04 PM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default Send Mail thru Excel Macro

Hi,

I have a need to do this and I use a product called Automailer XL by DuoData. It automatically checks if a particular folder contains a file and then sends it to the user's email in a CSV file called Rcpts.csv. It works very well. You just copy what you want to send to the send folder, change the contents of Rcpts.csv and the fire up the automailer and off it goes. Been running seamlessly for about 6 years now!

Pavesa
Reply With Quote
  #15 (permalink)  
Old May 15th, 2011, 05:02 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Quote:
Originally Posted by Wanbolek View Post
How can I send emails using diferent outboxes with a macro, the only solution I found was to enter outlook and change the default account. (outlook-Excel)
Yes. However, you can do this programattically.

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to send an email with an attachment in it samputha Excel VBA 2 August 13th, 2009 10:12 PM
Excel Macro - Send Email and Attachments robmill101 Excel VBA 1 October 21st, 2008 09:10 AM
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 04:24 PM
Need macro to send email via default mail program chutchinson Excel VBA 0 September 27th, 2007 10:28 PM
Send It macro in excel hilding Excel VBA 2 September 6th, 2006 06:21 AM



All times are GMT -4. The time now is 11:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.