Thank you for your time! Need help with google-apps-script.
I created Google Script code for E-mail notifications. By default, the E-mail notifications are sent from my e-mail address. I need to change the E-mail sender address to a different one. So, I changed the ownership of the script, but nothing changed, the script still sends E-mails from my original account. Please, help.
changing ownership is not mandatory what you have to do is to run the script with the other account.
You create a script and probably a trigger and setup it from original account. To change email of sender to another account. Stop trigger and setup script from the other account.
The sender will now be the new account as it run the script.
Stéphane
Related
I have a Google Workspace (I think that is what it is called) that I use to manage a private email address for a small business.
Everything has been working fine, and I can see the user (richard) in the admin area with associated email set up. I have sent test emails to and from their email account to make sure it is working okay and everything seems to be working fine.
I have two email addresses associated with the domain, for example:
emma#domain.co.uk (me) and
richard#domain.co.uk (richard)
I use the first email address as an admin account, and they use the second one.
They've had this email account for a long time, and have had no problems, however recently they have stopped receiving emails from one sender (their accountant).
I can still send emails to the account from my own personal email address to them, and they are receiving emails from other businesses, but just this one person is sending emails to them and they aren't being received.
Things I've tried:
Checked the spam/junk folders and no emails are there
Checked to make sure the sender isn't on the blocked list
Looked at the email logs as per this suggested article and don't see any record of the incoming email that has been sent
Sent a test email to account#accountant.co.uk and richard#domain.co.uk from emma#domain.co.uk and they both receive my email. When the accountant presses "reply all" the email only gets received by emma#domain.co.uk and never arrives at richard#domain.co.uk
Sent a test email from richard#domain.co.uk to account#accountant.co.uk and she receives the email. When she replies, he doesn't get the reply.
All I can think of is she has somehow blocked him via her email client, but I need to check out all the possibilities of it being a problem at our end as she's not great with email and not sure how I'm going to navigate that one :)
Any suggestions welcome!
I inherited a script that goes through a shared inbox and will do a replyAll on the message, change some things, and then save it to the drafts folder. It is using the outlook.application com object in powershell. One of the first things we do is to change the sender in Outlook to our own email address instead of the shared mailbox account.
In Outlook, if we use the pull down and select the correct account and then send it works. However, I want to do this in the script as we often forget to do it manually.
I have a powershell object and have successfully changed it to use my account to send from:
$mailitem = $message.replyAll()
$mailitem.sendUsingAccount = $myacct
However, when I send the message, the from address is still set to the shared account.
I've also tried adding
$mailitem.SentOnBehalfOfName = "foo#bar.com"
$mailitem.Sender = "foo#bar.com"
with the same issue.
I'm hoping y'all might have some ideas on how to make this work.
Edit: Looks like How to change sender name in Outlook ? is closely related to this ticket. Not sure it is a duplicate though. My question here is around the difference between what the pulldown does to set my account in the outlook client and what I'm trying to do in the powershell script. If it works in the outlook client it should work in the powershell script. If the problem is SentOnBehalfOfName attribute, why wouldn't I have permissions to change it? I'm changing it to my email address.
GitLab sends notification emails to the email address I used during registration. Can I change the target email address GitLab uses to send email notifications to?
I've already tried setting/changing my email address on my "Profile settings" but it's used only for display; it doesn't change where GitLab sends notification emails to.
OK it seems I figured out the causing issue.
As it turns out the "Email" property on my "Profile settings" does specify where GitLab sends notification emails. The problem was a bit more elaborate.
There were two GitLab accounts that had the same username! Both belonged to me; one was a regular user and the other was an admin. The two users had different email addresses; just their usernames were the same.
This caused some kind of an anomaly; even though an action was triggered for the admin user the notification email went to the email address of my other user; strange indeed.
I changed the username of one of my users to make them unique. After that, everything worked well.
Hope this will help someone in the future.
Is there a way for Outlook 2010 to send an email whenever a message is received? I don’t want the original email forwarded or redirected (major business rules violation); I just want to receive an email alert at another address. It would be great if that message included the subject and sender but not necessary. It seems like there should be a rule to do this but I need help creating it.
I thought about using an Outlook rule to call a VBA script to send the email. I tested a couple of scripts but they didn’t work for me. I don’t think my account has the proper security clearance or the VM environment is configured to not allow sendmail scripts.
How to send a mail automatically
The accepted answer gives me the following error:
Line 6: Adodb.fields
Arguments are of the wrong type, out of acceptable range, or are in conflict with oneanother
Send Email using VBscript
The script given at the end of the thread gives me this error:
SendMail Failed: The transport failed to connect to the server
and the telnet test step failed as well.
And since I don't want to risk my job trying to circumvent security policy I really hope there is something built into Outlook that will allow me to accomplish my goal.
You can use Auto-Mate Pro, a 3rd party rule add-in for Outlook to do this. One of the rule actions is called "Send Message". There you can choose an predefined template you create for the email alert body. You can also specify the email address to send the alert email to.
www.pergenex.com/auto-mate
Hope it helps.
I've a domain and I've successfully configured Email service via Google Apps.
I've created 5 email accounts too.
Now I want to track all the incoming/ outgoing emails.
Is there any way, if any person(among those 5 persons), sends or receives an email, I want a copy of that email in my inbox too automatically.
Thanks in advance.
You can use GAM and Audit monitors to get a copy of a users mail sent and received. You'll also see Chats and Draft messages with an email monitor:
http://code.google.com/p/google-apps-manager/wiki/ExamplesAccountAuditing#Create_a_Audit_Monitor
This feature requires Google Apps for Business or Education.
Jay
I am not sure you can receive a copy in another account but you can configure each of the accounts to delegate access to your account so that you can view their sent/received messages. It is more manual than you would like however.
http://support.google.com/mail/bin/answer.py?hl=en&answer=138350
The best way to do that with out going into the GAM and use the audit, is to configure mail forwarding for each email by going into the gmail account interface.
Another solution that can be used, is to create an external gmail email, and use the google apps email routing to send all the emails to the external one.
On the external one you can just do what ever you want with the email, such as filtering by receiver and forwarding it to your selected destination.
Hope my answer helped a bit.