| Author |  | 
      
        | patrickm Senior Member
 
  
 
 Joined: February 22 2007
 Location: United States
 Online Status: Offline
 Posts: 188
 | 
          Hello,
           | Posted: May 22 2007 at 16:28 | IP Logged |   |  
           | 
 |  I am trying to start using the PH email functions and have a few questions.
 
 Within the macro screen, there is a send email operation with a single argument field.  What is the format for that field?
 
 What is required to get MAPI to function with OE in XP?  I am trying to use the ph email functions such as ph_sendsmtpemail and do not see any activity.
 
 Patrick
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          The single argument is the contents of the email. You first need to set things up...
           | Posted: May 22 2007 at 20:15 | IP Logged |   |  
           | 
 |  
 Set System [EMAILNAME] "xxx@yyy"
 Set System [EMAILSUBJECT] "zzzz"
 Set System [DIALUPUSER] "username"
 Set System [DIALUPPASSWORD] "pw"
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | patrickm Senior Member
 
  
 
 Joined: February 22 2007
 Location: United States
 Online Status: Offline
 Posts: 188
 | 
          Thanks Tony,
           | Posted: May 22 2007 at 21:02 | IP Logged |   |  
           | 
 |  That works just great.  Are those variables persistant or do they need to be reinitialized after PH startup?
 
 Patrick
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | TonyNo Moderator Group
 
  
  
 Joined: December 05 2001
 Location: United States
 Online Status: Offline
 Posts: 2889
 | 
          Good question. I always reinit them when an email is sent.
           | Posted: May 23 2007 at 07:41 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |       | 
       
       
        |  |